Re: [racket-users] quote-srcloc an questions of getting location

2015-11-21 Thread Alex Knauth
> On Nov 21, 2015, at 6:21 AM, thomas.lynch > wrote: > > The example in the manual for quote-srcloc shows it wrapped as a syntax > object, and it gives the correct call point location answer. however, when > the result from quoteloc is instead put in a variable, then variable has the > wron

Re: [racket-users] quote-srcloc an questions of getting location

2015-11-21 Thread Greg Hendershott
> The objective here is to get a source/loc structure with call point from the > stx passed into the syntax transformer. Is this what quote-srcloc is for? I haven't had a need to use `quote-srcloc`. Although I don't know the context of what you're trying to do, I wanted to check whether you know

[racket-users] quote-srcloc an questions of getting location

2015-11-21 Thread thomas.lynch
The example in the manual for quote-srcloc shows it wrapped as a syntax object, and it gives the correct call point location answer. however, when the result from quoteloc is instead put in a variable, then variable has the wrong location (not the call location of stx). An explanation of this