---- Bill Schottstaedt <[email protected]> wrote: 
> Does this strike you guys as kind of odd?
> 
> guile> ((lambda (s c) (s c)) quote #f)
> c
> guile> ((lambda (q) (let ((x 1)) (q x))) quote)
> x
> 
> I can't decide what I think.

Well, quote is syntax.  You can't pass it around like a function.  Guile 2.0 
fixes that:

scheme@(guile-user)> ((lambda (s c) (s c)) quote #f) 
While compiling expression:
ERROR: Syntax error:
unknown location: quote: bad syntax in form quote


scheme@(guile-user)> ((lambda (q) (let ((x 1)) (q x))) quote)
While compiling expression:
ERROR: Syntax error:
unknown location: quote: bad syntax in form quote


-Dale


Reply via email to