[plt-scheme] macro expension order

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Jul 9 18:26:01 EDT 2007

At Mon, 09 Jul 2007 17:21:28 -0600, Chongkai Zhu wrote:
> So here I would like to ask: what is the correct way to "define" 
> something that will apply before the match library see the pattern? 

Is `define-match-expander' what you're looking for? It allows you to
extend the syntax of patterns (which are not expressions, and so macro
bindings don't have any effect on them).

Matthew



Posted on the users mailing list.