Andrew Mack <andrewm...@libertymail.net> wrote: > Looking through various chicken documentation, my first assumption was > to wrap the lambda argument to define-syntax in an er-macro-transformer > call. However this does not recognize append-map (of course defined in > srfi-1) as bound. I thought that it might also need to be renamed with > (r 'append-map) but this also did not work. >
Indeed you have to wrap the lambda into `er-macro-transformer`. For the append-map issue, I’m pretty sure this means the srfi-1 library is not loaded at macro-expand time, you can do so with `(import-for-syntax srfi-1)`. http://wiki.call-cc.org/man/5/Modules#import-for-syntax Hope this helps. :)