From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,269df2c167555fd6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-23 01:14:06 PST From: lutz@iks-jena.de (Lutz Donnerhacke) Newsgroups: comp.lang.ada Subject: Re: Ada 0x: Re: Representation clause Date: 23 Feb 2001 09:01:48 GMT Organization: IKS GmbH Jena Distribution: world Message-ID: References: <3a95c52f@post.usenet.com> <3A95E095.75B2A248@worldnet.att.net> <3a9621eb$1@pull.gecm.com> NNTP-Posting-Host: taranis.iks-jena.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: slrn/0.9.6.3 (Linux) Path: supernews.google.com!sn-xit-03!supernews.com!freenix!fr.clara.net!heighliner.fr.clara.net!news.tele.dk!193.174.75.178!news-fra1.dfn.de!news0.de.colt.net!stueberl.r-kom.de!news-ffm.transmedia.de!news1.transmedia.de!news-FFM2.ecrc.net!news.iks-jena.de!lutz Xref: supernews.google.com comp.lang.ada:5462 Date: 2001-02-23T09:01:48+00:00 List-Id: * Martin Dowie wrote: >James Rogers quote the RM: >> Unchecked_Conversion may be used to query the internal codes >> used for an enumeration type. The attributes of the type, such as Succ, >> Pred, and Pos, are unaffected by the enumeration_representation_clause. >> For example, Pos always returns the position number, not the internal >> integer code that might have been specified in a >> enumeration_representation_clause. >Do I spot a possible language extension here? >How about a 'Underlying_Value attribute? That would only syntactic shugar, why burden this into the language?