<div dir="ltr">Dear Alvaro, can you please write up your insights on define-type on the Wiki? I believe there's a page already somewhere so it's just about clarifying and adding. Mikael<br></div><div class="gmail_extra">

<br><br><div class="gmail_quote">2014-05-01 10:45 GMT+02:00 Álvaro Castro-Castilla <span dir="ltr"><<a href="mailto:alvaro.castro.castilla@gmail.com" target="_blank">alvaro.castro.castilla@gmail.com</a>></span>:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">



<div><br>
</div>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).<div>



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

<div>

<br></div><div>Thank you, Marc</div></div></div></div>
<br>_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
<br></blockquote></div><br></div>