Re:Names are not type safety (2020)
by mrkeen on Monday August 04, 2025 @04:14AM
(#44783193)
> Structural types does not preclude having some names that prevent mix-ups. Haskell’s `data` keyword doesn’t let you confuse structurally-identical things.
Haskell doesn't let you confuse structurally-indentical things because it is nominal, not structural.
Haskell doesn't let you confuse structurally-indentical things because it is nominal, not structural.