Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Alternatives to values/call-with-values

View Parsed - Show only message text

Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: "cr88192" <cr88...@hotmail.com>
Newsgroups: comp.lang.scheme
Subject: Re: Alternatives to values/call-with-values
Date: Sat, 2 Aug 2003 08:40:47 -0700
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <vinmqun1hrr080@corp.supernews.com>
References: <yy10d6fodux0.fsf@chaosnet.org> <vinm9dmvj5sr99@corp.supernews.com>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Complaints-To: abuse@supernews.com
Lines: 13

>
> (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...




Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google