[plt-scheme] Re: a few questions (was: Scheme questions?)
On Dec 4, Carl Eastlund wrote:
> On 12/4/05, Gregory Woodhouse <gregory.woodhouse at sbcglobal.net> wrote:
> >
> > (LABELS ((L1 (LAMBDA ()
> > (IF B1 (L2)
> > (BLOCK S1
> > (IF B2 (L2)
> > (BLOCK S2 (L1))))))))
> > (L2 (LAMBDA () S3))
> > (L1))
> >
> > Is LABELS a special form in some version of scheme, or something
> > bound by an enclosing let? Something else?
>
> If I recall correctly, LABELS is an old form of letrec.
And still part of Common Lisp. It's like a letrec for functions,
needed since functions are on a seperate namespace in CL.
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!