[racket-dev] built-in syntax-parse syntax class for "match" patterns?

2011-03-31 Thread John Clements
If I want to use syntax-parse to define a syntactic form that expands into a use of 'match', is there a built-in syntax class that recognizes 'match' patterns? Unfortunately, searching for 'match' and 'pattern' in the syntax-parse docs isn't so helpful... :). John smime.p7s Description: S/MI

Re: [racket-dev] built-in syntax-parse syntax class for "match" patterns?

2011-03-31 Thread Carl Eastlund
Match patterns are macro-extensible. Just about any s-expression is a potential match pattern. I don't think there's anything for a syntax class to discern, just accept whatever someone puts there, and trust expansion to sort out any errors. Carl Eastlund On Thu, Mar 31, 2011 at 3:20 AM, John C

Re: [racket-dev] built-in syntax-parse syntax class for "match" patterns?

2011-03-31 Thread Sam Tobin-Hochstadt
On Thu, Mar 31, 2011 at 5:22 AM, Carl Eastlund wrote: > Match patterns are macro-extensible.  Just about any s-expression is a > potential match pattern.  I don't think there's anything for a syntax > class to discern, just accept whatever someone puts there, and trust > expansion to sort out any