[plt-scheme] Keyword argument macros

From: Noel Welsh (noelwelsh at gmail.com)
Date: Tue Jan 6 08:33:55 EST 2009

Something that might work, depending on your macro

  Pass the arguments to the a define-for-syntax function with
appropriate keyword arguments.


On Tue, Jan 6, 2009 at 12:43 PM, Casey Klein <clklein at cs.uchicago.edu> wrote:
> I'd like to write a macro that accepts keyword arguments, e.g.,
> (my-macro e1 #:kw e2 e3). syntax-case isn't much help in parsing the
> macro's input. Do I need to do this parsing myself, checking for
> duplicate/missing keywords, or is there some library solution I'm
> missing?
> Thanks,
> Casey

Posted on the users mailing list.