[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] 4.2.2. binding constructs
- To: Andy Wingo <wingo@x>
- Subject: Re: [Scheme-reports] 4.2.2. binding constructs
- From: John Cowan <cowan@x>
- Date: Thu, 19 May 2011 13:18:04 -0400
- Cc: scheme-reports <scheme-reports@x>
- In-reply-to: <m3aaei8yyv.fsf@unquote.localdomain>
- References: <m3aaei8yyv.fsf@unquote.localdomain>
Andy Wingo scripsit:
> The `let' documentation denotes BODY as "a sequence of one or more
> expressions". This does not permit definitions.
>
> Similarly for letrec and letrec*.
Fixed.
> Perhaps also there should be clarity
> regarding the validity of the following program:
>
> (let* ((x 1)
> (x (+ x 1)))
> x)
It's fairly silly, but not illegal.
--
John Cowan http://ccil.org/~cowan cowan@x
SAXParserFactory [is] a hideous, evil monstrosity of a class that should
be hung, shot, beheaded, drawn and quartered, burned at the stake,
buried in unconsecrated ground, dug up, cremated, and the ashes tossed
in the Tiber while the complete cast of Wicked sings "Ding dong, the
witch is dead." --Elliotte Rusty Harold on xml-dev
_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports