[plt-scheme] Where is macroexpand in PLT Scheme?

From: Geoffrey Knauth (geoff at knauth.org)
Date: Tue Nov 11 00:08:26 EST 2003

cd /Applications/Added_Apps/PLT_v205/
find . -type f | xargs egrep -nH -e 'macro.*expand'
./collects/slibinit/init.ss:243:(define (macroexpand-1 e)
./collects/slibinit/init.ss:251:(define (macroexpand e)
./collects/slibinit/init.ss:256:	       (if a (macroexpand (apply (cdr 
a) (cdr e))) e))
./collects/slibinit/init.ss:261:(define (defmacro:eval x) (base:eval 
(defmacro:expand* x)))
./collects/slibinit/init.ss:262:(define (defmacro:expand* x)
./collects/slibinit/init.ss:263:  (slib:require 'defmacroexpand)
./collects/slibinit/init.ss:264:  (apply defmacro:expand* x '()))

Geoffrey S. Knauth | http://knauth.org/gsk

On Nov 10, 2003, at 23:31, Bill Clementson wrote:
> I wanted to expand a macro in Scheme today. I had a
> look for "macroexpand" in R5RS and the PLT
> documenation. Didn't find it. At least, not in R5RS.

Posted on the users mailing list.