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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8276b2994037cd71 X-Google-Attributes: gid103376,public From: Jeff Carter Subject: Re: Overloading "in" (was: disjoint ranges ?) Date: 2000/10/21 Message-ID: <39F1C3AB.46A846CB@acm.org>#1/1 X-Deja-AN: 684179659 Content-Transfer-Encoding: 7bit References: <39E612C9.9BF98CD3@laas.fr> <8s59nu$ej4$1@news.huji.ac.il> <39E658A4.525AE881@acm.org> <39E6E890.3B13E7A9@laas.fr> <8s8iuk$q66$1@nnrp1.deja.com> <39EBB984.F2F8905F@ix.netcom.com> <8sksl4$b6o$1@nnrp1.deja.com> <39EE6610.C91290B@acm.org> <8ss9c3$6li$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 972145585 158.252.122.148 (Sat, 21 Oct 2000 09:26:25 PDT) Organization: EarthLink Inc. -- http://www.EarthLink.net MIME-Version: 1.0 NNTP-Posting-Date: Sat, 21 Oct 2000 09:26:25 PDT Newsgroups: comp.lang.ada Date: 2000-10-21T00:00:00+00:00 List-Id: Robert Dewar wrote: > > In article <39EE6610.C91290B@acm.org>, > Jeff Carter wrote: > > One possible syntax is > > > > function "in" (Left : T; Right : T range <>) return Boolean; > > > > Not that I'm advocating including this capability. > > Yes, well anyone can dream up syntax like this, but figuring > out the semantics and how it fits into the rest of the language > may be a mind boggling excercise in complexity introduction :-) Which is why I don't advocate adding it to the language :) -- Jeff Carter "I waggle my private parts at your aunties." Monty Python & the Holy Grail