3 ms·
Ada has that. Bounded types and subtyping. For example, the type system is aware of the ranges of allowed values and can statically enforce this. Runtime check
by henrikeh 6y ago
Ada has that. Bounded types and subtyping.
For example, the type system is aware of the ranges of allowed values and can statically enforce this. Runtime checking is used by default but can be disabled.