On Fri, Dec 4, 2015 at 10:36 AM, Alex Knauth <alexan...@knauth.org> wrote:
> I just happened to run into that exact problem yesterday, and my solution
> was to have an `id-append` function that returned two values:
> https://github.com/AlexKnauth/lens/blob/0b026923508eabdff241cad861c5e1c4008cfb19/unstable/lens/private/id-append.rkt
>
> The first for the identifier, and the second for the value of the syntax
> property, which the user of the function would have to get with
> define-values and attach it someplace other that the identifier itself.
>
> With your fix, (if I only cared about future versions of racket) would it be
> able to return the identifier with the syntax property on it instead of
> doing this two-value stuff?

Yes (assuming the one identifier survives to the result of the
expansion in a binding position).

Robby

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to