<div dir="ltr"><div style="font-size:13px;padding-left:7px;font-family:Consolas,'Lucida Console',monospace;word-wrap:break-word">Hi all,</div><div style="font-size:13px;padding-left:7px;font-family:Consolas,'Lucida Console',monospace;word-wrap:break-word">
<br></div><div style="font-size:13px;padding-left:7px;font-family:Consolas,'Lucida Console',monospace;word-wrap:break-word">if i get a hang-up trying to map over a racket/set --</div><div style="font-size:13px;padding-left:7px;font-family:Consolas,'Lucida Console',monospace;word-wrap:break-word">
is this necessarily a bug? I'm storing structures in</div><div style="font-size:13px;padding-left:7px;font-family:Consolas,'Lucida Console',monospace;word-wrap:break-word">the set, and I have defined custom gen:equal+hash methods</div>
<div style="font-size:13px;padding-left:7px;font-family:Consolas,'Lucida Console',monospace;word-wrap:break-word">for the structure type.</div><div style="font-size:13px;padding-left:7px;font-family:Consolas,'Lucida Console',monospace;word-wrap:break-word">
<br></div><div style="font-size:13px;padding-left:7px;font-family:Consolas,'Lucida Console',monospace;word-wrap:break-word">Racket hangs when both `in-set' and `set-map' are used.</div><div style="font-size:13px;padding-left:7px;font-family:Consolas,'Lucida Console',monospace;word-wrap:break-word">
<br></div><div style="font-size:13px;padding-left:7px;font-family:Consolas,'Lucida Console',monospace;word-wrap:break-word">Some time earlier, I got contract violations from </div><div style="font-size:13px;padding-left:7px;font-family:Consolas,'Lucida Console',monospace;word-wrap:break-word">
`hash-iterate-next' when trying to do the same thing with</div><div style="font-size:13px;padding-left:7px;font-family:Consolas,'Lucida Console',monospace;word-wrap:break-word">`in-set'. It was actually internal Racket code generated</div>
<div style="font-size:13px;padding-left:7px;font-family:Consolas,'Lucida Console',monospace;word-wrap:break-word">by `in-set' transformer binding that violated the contract.</div><div style="font-size:13px;padding-left:7px;font-family:Consolas,'Lucida Console',monospace;word-wrap:break-word">
Specifically, the message was saying the second argument to</div><div style="font-size:13px;padding-left:7px;font-family:Consolas,'Lucida Console',monospace;word-wrap:break-word">`hash-iterate-next' was not positive.</div>
<div style="font-size:13px;padding-left:7px;font-family:Consolas,'Lucida Console',monospace;word-wrap:break-word"><br></div><div style="font-size:13px;padding-left:7px;font-family:Consolas,'Lucida Console',monospace;word-wrap:break-word">
---</div><div style="font-size:13px;padding-left:7px;font-family:Consolas,'Lucida Console',monospace;word-wrap:break-word">Best regards,</div><div style="font-size:13px;padding-left:7px;font-family:Consolas,'Lucida Console',monospace;word-wrap:break-word">
Sergey Mozgovoy.</div></div>