[gambit-list] Figuring out opaque:, and macros expanding to macros

Álvaro Castro-Castilla alvaro.castro.castilla at gmail.com
Thu May 1 04:45:34 EDT 2014


>
>
> The opaque: flag causes a change in the behavior of equal? and equal?-hash
> .  When the opaque: flag is not used, two structures are equal? if they
> have the same type and each field is equal? in both structures.  When the
> opaque: flag is used, two structures are equal? only if they are eq? (i.e.
> the same instance).
>
>

Awesome and very useful!
So the code that checks for the opaque: flag in the Gambit sources is found
in the equal? and equal-hash? definitions...

Thank you, Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20140501/cced27c5/attachment.htm>


More information about the Gambit-list mailing list