[r6rs-discuss] [Formal] defer lambda rather than define rhs when expanding body

Per Bothner per at bothner.com
Mon Mar 12 01:38:40 EDT 2007


Abdulaziz Ghuloum wrote:
> Since #7 is a definition, it cannot come after an expression.

It can in a top-level body.  (Plus in my other proposal today I
propose to remove this restriction for other bodies as well.)

> The occurrence of MAC is a red herring
> because the exact same answer can be given for:
> 
> #1# (define VAR 1)
> #2# (set! VAR 1)
> #3# (list 1)
> #4# (MAC)
> #5# (define VAR (lambda () 1))
> #6# (set! VAR (lambda () 1))
> #7# (define-syntax MAC ...)

I don't understand your point.
-- 
	--Per Bothner
per at bothner.com   http://per.bothner.com/



More information about the r6rs-discuss mailing list