bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: begin oddities


From: Neil Jerram
Subject: Re: begin oddities
Date: Thu, 25 Sep 2008 23:30:38 +0200

2008/9/25 Marijn Schouten (hkBst) <address@hidden>:
> -----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

[Prev in Thread] Current Thread [Next in Thread]