Re: [racket-users] syntax-parse and optional keywords

2015-04-17 Thread Alexander D. Knauth
There are several ways to do this, and they each have their uses depending on what you want to do with it. One is with a syntax-class: #lang racket (require syntax/parse) (define-splicing-syntax-class my-keyword [pattern (~seq #:my-keyword) #:attr kw #t] [pattern (~seq) #:attr kw #f]) (syntax

[racket-users] syntax-parse and optional keywords

2015-04-17 Thread Konrad Hinsen
Hi everyone, my question looks like something straightforward, but I have been reading through the documentation for a while without finding anything clearly helpful. I want to define some syntax with an optional keyword but no arguments behind it. Something like #:mutable in struct. The pattern

Re: [racket-users] Organizing tests

2015-04-17 Thread Konrad Hinsen
Thanks to Matthias, John, and Greg for their suggestions! I explored the raco documentation in more detail and I will try to come up with some good solution. My main goal is to have convenient modes of operation: 1) Developers (currently me) should be able to run easily the subset of tests that

RE: [racket-users] receiving a copy of my own mails to racket-users@googlegroups.com

2015-04-17 Thread Jos Koot
Thanks. That clears it up. Jos Koot. -Original Message- From: David T. Pierson [mailto:d...@mindstory.com] Sent: viernes, 17 de abril de 2015 6:11 To: Jos Koot Cc: racket-users@googlegroups.com Subject: Re: [racket-users] receiving a copy of my own mails to racket-users@googlegroups.com