On Wed, Feb 27, 2008 at 2:42 PM, Peter Wright <[EMAIL PROTECTED]> wrote: > Hi all, > > This is probably something really obvious, but I just can't > work it out. > > I borrowed (and adapted) the example from the Common Lisp Hyperspec > (http://www.lisp.org/HyperSpec/Body/fun_macroexpa_acroexpand-1.html), > as I couldn't seem to google up an example of macroexpand-1 in any > Scheme, let alone Chicken:
macroexpand-1 works only with the low-level macro expander. syntax-case (and all other hygienic macro expanders) expand a toplevel form completely (in fact, the have to to take context information into account and perform internal renaming. Well I think they do), so macroexpand-1 is not available here and does the same as macroexpand. cheers, felix _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
