[racket] is there any way to check whether two syntax objects have the same ... ?

From: Alexander D. Knauth (alexander at knauth.org)
Date: Sat Aug 16 23:32:10 EDT 2014

Is there any way to check whether two syntax objects have the same lexical information, syntax-e (recursively), source location, properties, and whatever else they have, even if they aren’t eq?

For the syntax-e and source-location this is straightforward, but if there’s no accessor for the lexical information then how do I check if the lexical information is the same if the syntax objects aren’t eq?

And for the properties, can you only check the properties with keys that are interned symbols?  




Posted on the users mailing list.