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: "Ehud Lamm" Subject: Re: Overloading "in" (was: disjoint ranges ?) Date: 2000/10/19 Message-ID: <8sm8n1$cmd$1@news.huji.ac.il>#1/1 X-Deja-AN: 683216413 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> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Complaints-To: usenet@news.huji.ac.il X-Trace: news.huji.ac.il 971941409 13005 132.64.13.103 (19 Oct 2000 07:43:29 GMT) Organization: The Hebrew University of Jerusalem X-MSMail-Priority: Normal NNTP-Posting-Date: 19 Oct 2000 07:43:29 GMT Newsgroups: comp.lang.ada Date: 2000-10-19T07:43:29+00:00 List-Id: Jeff Carter wrote in message news:39EE6610.C91290B@acm.org... > One possible syntax is > > function "in" (Left : T; Right : T range <>) return Boolean; > The problem is not the syntax! It is a semantics issue. Just like the original poster had a synatx for "disjoint ranges"... It is much easier to invent syntax, than solve the semantics/implementation issues. Heck, I invent new syntax everyday: and I get compile time errors, beacuse of it... -- Ehud Lamm mslamm@mscc.huji.ac.il http://purl.oclc.org/NET/ehudlamm <== Me!