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

From: Per Bothner <per>
Date: Mon Mar 12 01:39:49 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/
Received on Mon Mar 12 2007 - 01:38:40 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC