comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Subtype predicates
Date: Wed, 31 Aug 2016 13:16:52 -0500
Date: 2016-08-31T13:16:52-05:00	[thread overview]
Message-ID: <nq76u8$sqg$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: 8955f6b0-18c6-41b9-91bf-b756189f53db@googlegroups.com

"Shark8" <onewingedshark@gmail.com> wrote in message 
news:8955f6b0-18c6-41b9-91bf-b756189f53db@googlegroups.com...
...
> Hm, another argument for a 'Type attribute, then we could say
>
> type Human_Life_Span is range 0 .. 130
>  with Default_Value => Human_Life_Span'Type'First;

We examined that extensively, since someone (you, perhaps??) already 
suggested it. It's a can of worms, in fact a case of worms. See AI12-0123-1 
for some problems.

The odds of Ada adding this attribute are roughly the same as me marrying a 
supermodel.

                                   Randy.



  parent reply	other threads:[~2016-08-31 18:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-23 20:14 Subtype predicates Anh Vo
2016-08-24 13:06 ` AdaMagica
2016-08-24 16:45   ` Shark8
2016-08-24 21:18     ` Anh Vo
2016-08-24 21:32       ` Shark8
2016-08-24 21:54   ` Jeffrey R. Carter
2016-08-25  0:08     ` Shark8
2016-08-25  0:31       ` Jeffrey R. Carter
2016-08-25 17:28         ` Anh Vo
2016-08-31 18:16       ` Randy Brukardt [this message]
2016-09-01  8:09         ` J-P. Rosen
2016-09-01 20:02           ` Randy Brukardt
2016-09-01 20:16         ` Shark8
replies disabled

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