Y
Hacker News
new
|
ask
|
show
|
jobs
by
masklinn
334 days ago
Python’s NewType is, confusingly, a very different thing: it’s a compile-time-only
subtype
of the original, rather than a Haskell-style newtype (which is an entirely separate type from its source).