Re:Names are not type safety
by embwbam on Sunday November 01, 2020 @11:19PM
(#24964792)
Practically, I disagree with the GP. A newtype is fine in these cases. You don't have to say you know what to do with negative Lengths if you have a smart constructor that won't let you create one.
[ Parent
| on HN ]