2008/9/25 Marijn Schouten (hkBst) <[EMAIL PROTECTED]>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Bill Schottstaedt wrote:
>> Is this a bug?

No.  See the R5RS formal syntax.  Different things are allowed for
(begin ...) at top level and (begin ...) inside a definition.

> Weird thing is it seems to have no problem with
> (let ((f (lambda () (define x 0) (+ x 1)))) (f))

Right, because there's no begin there.

Regards,
      Neil


Reply via email to