Bijan Parsia <bparsia@email.unc.edu> wrote:
+---------------
| I'm trying to play with the above packages in DrScheme (or, actually, any
| windows Scheme). Does anyone have a DrScheme "collect" or similar
| install? I've just bogged down on the lack of define-macro :)
|
| Er..to my naive eye, lack.
+---------------
The latter, I suspect, since "define-macro" is built into MzScheme,
the engine undeneath DrScheme. Try raising the language level in
DrScheme to "Full Scheme", and see if that lets you use "define-macro".
Note that MzScheme's "define-macro" doesn't permit the shorthand form
of definition some other Schemes support, that is, you can't say:
(define-macro (name param param...) ...body...)
but must instead say:
(define-macro name (lambda (param param...) ...body...))
-Rob
-----
Rob Warnock, 30-3-510 <rpw3@sgi.com>
SGI Network Engineering <http://www.meer.net/~rpw3/>
1600 Amphitheatre Pkwy. Phone: 650-933-1673
Mountain View, CA 94043 PP-ASEL-IA
[Note: aaanalyst@sgi.com and zedwatch@sgi.com aren't for humans ]