bug-guile
[Top][All Lists]
Advanced

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

Re: begin oddities


From: Bill Schottstaedt
Subject: Re: begin oddities
Date: Thu, 25 Sep 2008 15:56:55 -0700

I've stared at the formal syntax, and read it as:

lambda is (lambda <formals> <body>)
<body> is <definition>* <sequence>
<definition>* is 
        (define <variable> <expression>)
      | (define (<variable> <def formals>) <body>)
      | (begin <definition>*)

so (lambda () (begin (define ...) ... in both forms looks legal to me.






reply via email to

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