Hacker News new | ask | show | jobs
by account42 10 days ago
There is no builtin integer type that guarantees x > 0. I agree that adding such a type (and more general, range guarantees at the type system level) would be very useful.