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

From: John Clements (clements at brinckerhoff.org)
Date: Sat Apr 2 14:25:41 EDT 2011

On Mar 31, 2011, at 2: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 errors.

Good point.  That makes sense, thanks.


John

> 
> Carl Eastlund
> 
> On Thu, Mar 31, 2011 at 3:20 AM, John Clements
> <clements at brinckerhoff.org> wrote:
>> 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




Posted on the dev mailing list.