[Prev][Next][Index][Thread]
Can macros define anonymous locals?
-
To: info-dylan@ai.mit.edu
-
Subject: Can macros define anonymous locals?
-
From: Chris Page <page@best-OMIT-THIS-.com>
-
Date: Tue, 20 Mar 2001 21:15:02 -0500 (EST)
-
Organization: SBC Internet Services
-
User-Agent: Microsoft-Entourage/9.0.2509
-
Xref: traf.lcs.mit.edu comp.lang.dylan:13139
I was describing Dylan macros to some people the other day, and it occurred
to me that I am uncertain as to whether a macro can define an "anonymous"
local variable to implement the macro. That is, can a macro expansion
include a "let foo..." or a "local foo..." where the "foo" can be referred
to by the macro-generated code, but will not clash with any variable "foo"
that may be defined by a body in the macro call?
--
Chris Page
Mac OS Lead, Palm Desktop
Palm, Inc.
let mailto = concatenate( "page", "@", "best.com" );
Follow-Ups: