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-Thread: 103376,cd45439466e86f24 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!news.cambrium.nl!news.cambrium.nl!npeer.de.kpn-eurorings.net!news.uni-stuttgart.de!news.belwue.de!not-for-mail From: Peter Hermann Newsgroups: comp.lang.ada Subject: Re: enumeration type Date: Mon, 27 Sep 2004 09:45:06 +0000 (UTC) Organization: InterNetNews at News.BelWue.DE (Stuttgart, Germany) Message-ID: References: NNTP-Posting-Host: sinus.csv.ica.uni-stuttgart.de X-Trace: news.BelWue.DE 1096278306 25325 129.69.118.70 (27 Sep 2004 09:45:06 GMT) X-Complaints-To: news@news.belwue.de NNTP-Posting-Date: Mon, 27 Sep 2004 09:45:06 +0000 (UTC) User-Agent: tin/1.7.4-20040111 ("Taransay") (UNIX) (Linux/2.4.26 (i686)) Xref: g2news1.google.com comp.lang.ada:4250 Date: 2004-09-27T09:45:06+00:00 List-Id: Rick Santa-Cruz wrote: > type Boolean is (True, Maybe, False); I do not recommend to overload the type boolean. Furthermore I recommend to use the same "bit pattern" of internal representation similar to boolean in case of future hardware-related usefulness, e.g. type fuzzy is (false,true,maybe); and now a final joke: > if X = Standard.Boolean.True then (-: if x then :-) -- --Peter Hermann(49)0711-685-3611 fax3758 ica2ph@csv.ica.uni-stuttgart.de --Pfaffenwaldring 27 Raum 114, D-70569 Stuttgart Uni Computeranwendungen --http://www.csv.ica.uni-stuttgart.de/homes/ph/ --Team Ada: "C'mon people let the world begin" (Paul McCartney)