Re: [Scheme-reports] 4.2.2. binding constructs John Cowan (19 May 2011 17:18 UTC)
Re: [Scheme-reports] 4.2.2. binding constructs Andy Wingo (19 May 2011 21:32 UTC)
Re: [Scheme-reports] 4.2.2. binding constructs Aaron W. Hsu (20 May 2011 02:31 UTC)

Re: [Scheme-reports] 4.2.2. binding constructs John Cowan 19 May 2011 17:18 UTC

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@ccil.org
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@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports