comp.lang.ada
 help / color / mirror / Atom feed
* Standard missing a 'Negative' subtype?...
@ 2013-09-14  8:49 Martin
  2013-09-14  9:14 ` Dmitry A. Kazakov
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Martin @ 2013-09-14  8:49 UTC (permalink / raw)


Why is there no "Negative" predefined subtype in package Standard?...

An implicit substype, something like:

   subtype Negative is Integer range Integer'First .. -1;

I would have thought this would fit nicely with 'Natural' and 'Positive'. Obviously not needed as often as those two, but when I finally did need it, it wasn't there!

-- Martin

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-10-01  2:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-14  8:49 Standard missing a 'Negative' subtype? Martin
2013-09-14  9:14 ` Dmitry A. Kazakov
2013-09-14 19:13 ` mockturtle
2013-10-01  2:45   ` J Kimball
2013-09-14 19:57 ` Shark8
2013-09-15  3:28 ` Jeffrey R. Carter
2013-09-15  7:36   ` Simon Wright
2013-09-15 16:07     ` Jeffrey R. Carter
2013-09-15 16:49     ` Martin
2013-09-15 17:51       ` J-P. Rosen
2013-09-16 17:44       ` Adam Beneschan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox