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 13:30:37 PST Path: supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!novia!howland.erols.net!dispose.news.demon.net!demon!easynet-tele!easynet.net!newsfeed.easynews.net!newsfeed2.easynews.net!easynews.net!news.cid.net!news.enyo.de!news1.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Ada 0x: Re: Representation clause Date: 23 Feb 2001 22:38:42 +0100 Organization: Enyo's not your organization Message-ID: <873dd5m659.fsf@deneb.enyo.de> References: <3a95c52f@post.usenet.com> <3A95E095.75B2A248@worldnet.att.net> <3a9621eb$1@pull.gecm.com> <87hf1l1p15.fsf@deneb.enyo.de> <975tn8$dke$1@hobbes2.crc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Xref: supernews.google.com comp.lang.ada:5497 Date: 2001-02-23T22:38:42+01:00 List-Id: "David C. Hoos, Sr." writes: > 'Image returns a string, while 'Rep would return a universal integer, so > I don't see how my proposal would be confusing. >From a type-based point of few, I agree. > The overloaded 'Value always returns a value of the enumeration type, > regardless of whether the argument is a string or a universal integer. 'Image and 'Value are roughly inverse, and so would be 'Rep and Value. I find this asymmetry confusing. BTW: Your quoting style sucks, and I do read CLA, no need to send me carbon copies of your replies, especially if they are not marked as copies.