[plt-scheme] "compile time" action of macros
Chris Wright
chris.wright at southernhealth.org.au
Mon Mar 19 07:32:13 EDT 2007
Hi,
I can achieve the desired effect (doing a calculation before run-time) with:
(define-macro (bloop x)
(let ((y (add1 x)))
`(list ,y)))
is there a way to do with with syntax-case? (I should, of course, ask
"How do I do that with syntax case... :)
cheers and thanks
chris
--
A/Prof Chris Wright FJFICM FRACP MBBS
Medical Director, ICU
Monash Medical Centre
Clayton, VIC
More information about the plt-scheme
mailing list