3 ms·
Yes, but functionally identical. See for example Haskell type vs new type: https://typeclasses.com/coerce https://typeclasses.com/coerce Python NewType: https
by Someone 3y ago
Yes, but functionally identical. See for example
Haskell type vs new type: https://typeclasses.com/coerce https://typeclasses.com/coerce
Python NewType: https://docs.python.org/3/library/typing.html#newtype https://docs.python.org/3/library/typing.html#newtype