comp.lang.ada
 help / color / mirror / Atom feed
From: Martin <martin@thedowies.com>
Subject: Standard missing a 'Negative' subtype?...
Date: Sat, 14 Sep 2013 01:49:08 -0700 (PDT)
Date: 2013-09-14T01:49:08-07:00	[thread overview]
Message-ID: <7b66c649-3796-41ea-b734-a2b14d2dbac3@googlegroups.com> (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

             reply	other threads:[~2013-09-14  8:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-14  8:49 Martin [this message]
2013-09-14  9:14 ` Standard missing a 'Negative' subtype? 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
replies disabled

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