At second thought I'll use syntax-local-name to infer names to structs
(in an immutable field and using prop:custom-write)
Does not give me the variable in which an instance originally was defined,
but that is less important .
Not being able to spot the original definition of an instance in case of an
error
while using the instance later on, well that I can live with.
Thanks again, Jos

On Sat, 27 Feb 2021 at 20:56, Matthew Flatt <mfl...@cs.utah.edu> wrote:
>
>> If you're just interested in the symbolic name "x", as opposed to the
>> binding identifier, then see `syntax-local-name` or
>> `syntax-local-infer-name`.
>>
>> If you want the binding identifier, though, that's not available.
>>
>> Matthew
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAL6KNi3dTaSXcWvwA1UDWtq5mEbEP1-sp3-73sAG%2BOxx%3D0%3Djsg%40mail.gmail.com.

Reply via email to