Re: [racket] Using ... as a keyword in syntax-rules

2012-01-13 Thread David Van Horn
On 1/13/12 3:53 PM, David Van Horn wrote: On 1/13/12 3:45 PM, Patrick Li wrote: Hello everyone, I'm trying to write a simple macro using syntax-rules, and couldn't find an answer to this problem in the faqs. If I want to use '... as a keyword for matching in syntax-rules, how would I do this? I

Re: [racket] Using ... as a keyword in syntax-rules

2012-01-13 Thread David Van Horn
On 1/13/12 3:45 PM, Patrick Li wrote: Hello everyone, I'm trying to write a simple macro using syntax-rules, and couldn't find an answer to this problem in the faqs. If I want to use '... as a keyword for matching in syntax-rules, how would I do this? I've tried various combinations of (...) and

[racket] Using ... as a keyword in syntax-rules

2012-01-13 Thread Patrick Li
Hello everyone, I'm trying to write a simple macro using syntax-rules, and couldn't find an answer to this problem in the faqs. If I want to use '... as a keyword for matching in syntax-rules, how would I do this? I've tried various combinations of (...) and (... ...), etc... but couldn't get it t