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

[Scheme-reports] Restrictions on internal BEGIN?



The description on p. 19 suggests that only internal definitions can be in an 
internal BEGIN.  The formal syntax suggests that syntax definitions can also 
be in an internal BEGIN, but according to the formal syntax we canot mix 
syntax and ordinary definitions in an internal BEGIN.  So are all of the 
following illegal?

(let ()
   (begin 1))

(let ()
   (begin
     (define x 1)
     x))

(let ()
   (begin
     (define-syntax foo .......)
     (define x 1))
    1)




_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports