Hacker News new | ask | show | jobs
by mrkeen 29 days ago
Oh cool. It's newtype from Haskell 1.3 (1996).

https://www.haskell.org/definition/from12to13.html#newtype

1 comments

No idea why dfa11's sibling comment got nuked. Looks correct to me.

I guess you can probably do the same with Unpacking.

https://wiki.haskell.org/Performance/Data_types