You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 9, 2026. It is now read-only.
Just had a weird behavior of (hash) when computing the hash of module. The hash is not reproducible and looks like it is disturbed by the state of the REPL.
Issue description
Just had a weird behavior of
(hash)when computing the hash of module. The hash is not reproducible and looks like it is disturbed by the state of the REPL.Maybe this is related to: #1273
Steps to reproduce
In REPL:
gives:
Let's try again with a slight change (just add an empty printed line between the 2 prints)
gives:
Expected Behavior
I expect the hash function to be reproducible and all the hashes shouldn't depend on externals factors.
This is not only a theoretical case. Marmalade uses as a token ID, the hash of a structure containing modrefs and may suffer from the same issue.