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,38fc011071df5a27 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-16 13:35:00 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!newspeer1-gui.server.ntli.net!ntli.net!newsfeed.freenet.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!213.200.246.247!not-for-mail From: Vinzent Hoefler Newsgroups: comp.lang.ada Subject: Re: Ideas for Ada 200X Date: Mon, 16 Jun 2003 22:33:28 +0200 Organization: JeLlyFish software Message-ID: References: <3EE7CC70.E1FD3A67@adaworks.com> <3EECA772.4B662024@adaworks.com> NNTP-Posting-Host: 213.200.246.247 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: fu-berlin.de 1055795699 21582093 213.200.246.247 (16 [175126]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:39274 Date: 2003-06-16T22:33:28+02:00 List-Id: Bill Findlay wrote: >On 16/6/03 20:09, in article bcl4o8$kkj68$1@ID-175126.news.dfncis.de, >"Vinzent Hoefler" wrote: > >> |x :=3D <> < <> + 1; >>=20 >> On the first glance I can't find any idea where this makes sense. The >> result type should fit (so it should be boolean, I'd say) unless >> someone has made use of a quite strange overloading of the >> "<"-Operator... >>=20 >> What am I missing here? > >Overloading is one possibility, but this expression is feasible as a >*sub*expression of a valid RHS, e.g. > >X :=3D Boolean'Pos(<> < <> + 1); -- see how flexible idem notation is? = 8-) Huh? ... Hmm. Well, actually it indeed could make sense with a modular integer type... :-) Vinzent.