News for hackers. Stuff that matters.
Re:Sir, Please Step Away from the ASR-33 (2010) by breuleux on Sunday June 27, 2021 @12:24PM (#27652867)
From what I recall from looking at Unison not long ago, the hashes do not depend on names. `f x = x * x` and `g y = y * y` both have the exact same hash and are considered to be the exact same function. Any call to `f` or `g` will be stored as a call to their hash, so `f2 x = f (x + 1)` and `g2 x = g (x + 1)` would also have identical hashes.

This does appear to pose a small issue for types, since isomorphic types are identical regardless of their names, but I believe they have a way to attach a unique id to enforce a distinction.

Re:Sir, Please Step Away from the ASR-33 (2010) by tyingq on Sunday June 27, 2021 @12:25PM (#27652873)
Ah, that makes it more clear.