On Wednesday, March 8, 2017 at 11:14:53 AM UTC-8, Jay McCarthy wrote:
>
> (let ([name-i-want (lambda args body)]) name-i-want)
>
Yup, that does it. Thanks!
> Jay
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group
There are a few ways.
procedure-rename works at runtime
Or you can influence the inferred value name ---
http://docs.racket-lang.org/reference/syntax-model.html?q=procedure-rename#%28part._infernames%29
--- by setting the syntax property or expanding to something like
(let ([name-i-want (lambda
On Wednesday, March 8, 2017 at 10:56:48 AM UTC-8, Jay McCarthy wrote:
> You want to use syntax/loc. The error message comes from the lambda,
> not from the keyword argument. It could be possible to change where
>
Yup, that fixes it. Thanks! I experimented with syntax/loc in various places,
but
You want to use syntax/loc. The error message comes from the lambda,
not from the keyword argument. It could be possible to change where
lambda looks for the error srcloc, but if you don't want to do that,
you can just use syntax/loc in the right spot:
http://pasterack.org/pastes/77933
On Wed, Ma
4 matches
Mail list logo