News for hackers. Stuff that matters.
Re:Names are not type safety (2020) by kazinator on Sunday August 03, 2025 @09:21PM (#44781293)
What if I want a type called MinusIntMaxToPlusIntMax?

In other words the full range of Int?

Is newtype still bad?

In other words how much of this criticism has to do with newtype not providing sub-ranging for enumerable types?

It seems that it could be extended to do that.

There are no comments on this comment yet.