Newsgroups: comp.lang.scheme
Path: cantaloupe.srv.cs.cmu.edu!bb3.andrew.cmu.edu!newsfeed.pitt.edu!gatech!news.mathworks.com!nntp.primenet.com!uunet!in2.uu.net!world!wware
From: wware@world.std.com (Will Ware)
Subject: Q re lambda
Message-ID: <Dun16t.6r6@world.std.com>
Organization: The World Public Access UNIX, Brookline, MA
X-Newsreader: TIN [version 1.2 PL2]
Date: Tue, 16 Jul 1996 13:23:17 GMT
Lines: 14

I tried doing this in MzScheme:

(set! f (cons 'lambda (cons () '(<statement> <statement> ...))))

(apply f ())

and got an error message. In other flavors of Lisp I've seen before starting
to use Scheme, this kind of thing is a valid way to build up a function. Is
there some other way, given a list '(<statement> <statement> ...) to build a
function out of it in Scheme? Any pointers for clarification on this? Thanks.
-- 
-------------------------------------------------------------
Will Ware <wware@world.std.com> web <http://world.std.com/~wware/>
PGP fingerprint   45A8 722C D149 10CC   F0CF 48FB 93BF 7289
