Ada ranged types [OT]

A page of a nice interactive course about Ada explains in a small space the basics of intervals and sub-types:

This page shows some things that I don't like, or are probably excessive, but the overall idea seems interesting for Rust too.

1 Like