Re: [racket-users] with-syntax, format-id, and ellipses

2018-09-28 Thread Dan Liebgold
Perfect, thank you! On Friday, September 28, 2018 at 12:35:50 PM UTC-7, Jay McCarthy wrote: > > The upcoming ~indexed form would make this easier, I think --- > https://github.com/racket/racket/pull/2262 > > But for now, you'll need to expand it yourself a bit. Line 26 would be > > [constructor

Re: [racket-users] with-syntax, format-id, and ellipses

2018-09-28 Thread Jay McCarthy
The upcoming ~indexed form would make this easier, I think --- https://github.com/racket/racket/pull/2262 But for now, you'll need to expand it yourself a bit. Line 26 would be [constructors (for/list ([o (in-list (syntax->list #'(fs.o ...)))]) (format-id #'name "create-~a-~a" #'name o))] On