This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Suggestion: SCM_DEBUG_REST_ARGUMENTS (fwd)



Yes, adding the functions `scm_car()' and `scm_cdr()' are helpful.


However:

--------------------
define xcdr
set $last=((scm_cell*) $arg0)->cdr
output $last
echo \n
end
document xcdr
Print the CDR of $.
end

define xcar
set $last=((scm_cell*) $arg0)->car
output $last
echo \n
end
document xcar
Print the CAR of $.
end
--------------------


Jost

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]