Go to Google Groups Home    comp.lang.scheme
Alternatives to values/call-with-values

cr88192 <cr88...@hotmail.com>

> (defmacro call-with-values (f g)
>     `(apply ,f ,g))

I was stupid, probably should have been:
(defmacro call-with-values (f g)
    `(apply ,g (,f)))

this is the problem with not remembering exactly what they do and not
bothering to look at r5rs for the answer...