Hacker News new | ask | show | jobs
by lexi-lambda 2050 days ago
In Haskell, a newtype can be a single-field record with a named field, so from a Haskell perspective, I would definitely consider both of them “newtypes.”