comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Concatenate enumeration
Date: Fri, 12 Nov 2010 11:55:34 -0600
Date: 2010-11-12T11:55:34-06:00	[thread overview]
Message-ID: <ibjv2n$bme$1@munin.nbi.dk> (raw)
In-Reply-To: 0ff42bdb-63a1-4fc2-bb44-e8d89a82bc68@j18g2000yqd.googlegroups.com

"okellogg" <okellogg@users.sourceforge.net> wrote in message 
news:0ff42bdb-63a1-4fc2-bb44-e8d89a82bc68@j18g2000yqd.googlegroups.com...
> In 
> https://groups.google.com/group/comp.lang.ada/browse_thread/thread/33ce43bfeafb2681/237f979efee731d3,
> Randy Brukardt wrote:
>
>> "Robert A Duff" <bobd...@shell01.TheWorld.com> wrote in message
>> news:wcctywksu8t.fsf@shell01.TheWorld.com...
>> ...
>>
>> >> You can't. Enumeration types are not extensible.
>>
>> > Extensible enumeration types were proposed for Ada 9X,
>> > but were dropped.
>>
>> And were proposed again for Ada 2005, and were dropped again. See
>> AI95-0261-1. I doubt it will ever be proposed again.
>
> I wonder why this has not been picked up - especially when looking at
> all the new features that are making it into Ada2012.

The semantic difficulties are staggering. It just doesn't make sense in the 
Ada model of types (mostly because of the Ada requirement that enumerations 
be elementary types). Some solution to the problems probably could be found, 
but the obvious ones make the extensions near useless. Go read AI95-0261-1 
if you care about the details.

                                         Randy.





  parent reply	other threads:[~2010-11-12 17:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-22 19:49 Concatenate enumeration okellogg
2010-10-26  0:29 ` Yannick Duchêne (Hibou57)
2010-11-12 17:55 ` Randy Brukardt [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-11-23 18:15 Pablo
2009-11-23 19:14 ` Jeffrey R. Carter
2009-11-23 23:21   ` Robert A Duff
2009-11-25 22:53     ` Randy Brukardt
2009-11-26  8:59       ` Dmitry A. Kazakov
2009-11-26  9:48         ` Georg Bauhaus
2009-11-26 10:03           ` Dmitry A. Kazakov
2009-11-24 19:42 ` Eryndlia Mavourneen
replies disabled

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