Lucretia9
Joined 9 years ago
Karma
114
Submissions
90
Member since
May 18
https://github.com/Lucretia/
View on Hacker NewsJoined 9 years ago
type Angles is 0 .. 360;
subtype Acute_Angles is range Angles'First .. 90;
Subtypes can be used with the parent type without conversions.Pascal only has subranges, iirc.
Whereas Ada's first version is from 1980 and first standardised version (different to 1980) in 1983. Yeah, "ancient."
I'm looking into getting it all automated through pragma's and gpr's.