Re: [racket] reconstructing syntax objects

2011-11-17 Thread Robby Findler
On Thu, Nov 17, 2011 at 5:38 PM, Jon Rafkind wrote: > On 11/17/2011 01:24 PM, Jon Rafkind wrote: >> >> On 11/17/2011 01:20 PM, Ryan Culpepper wrote: >>> >>> On 11/17/2011 12:28 PM, Jon Rafkind wrote: I have some code that deconstructs and reconstructs a syntax object. I'm pretty sur

Re: [racket] reconstructing syntax objects

2011-11-17 Thread Jon Rafkind
On 11/17/2011 01:24 PM, Jon Rafkind wrote: On 11/17/2011 01:20 PM, Ryan Culpepper wrote: On 11/17/2011 12:28 PM, Jon Rafkind wrote: I have some code that deconstructs and reconstructs a syntax object. I'm pretty sure this code is at fault for not adding the proper lexical context back on so I g

Re: [racket] reconstructing syntax objects

2011-11-17 Thread Jon Rafkind
On 11/17/2011 01:20 PM, Ryan Culpepper wrote: On 11/17/2011 12:28 PM, Jon Rafkind wrote: I have some code that deconstructs and reconstructs a syntax object. I'm pretty sure this code is at fault for not adding the proper lexical context back on so I get an error about 'no #%app bound'. (syntax

Re: [racket] reconstructing syntax objects

2011-11-17 Thread Ryan Culpepper
On 11/17/2011 12:28 PM, Jon Rafkind wrote: I have some code that deconstructs and reconstructs a syntax object. I'm pretty sure this code is at fault for not adding the proper lexical context back on so I get an error about 'no #%app bound'. (syntax-parse form [(form ...) (with-syntax ([(fo

[racket] reconstructing syntax objects

2011-11-17 Thread Jon Rafkind
I have some code that deconstructs and reconstructs a syntax object. I'm pretty sure this code is at fault for not adding the proper lexical context back on so I get an error about 'no #%app bound'. (syntax-parse form [(form ...) (with-syntax ([(form* ...) (map honu->racket (syntax->list #