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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,73f15dbe4ec16d06 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-04 07:01:13 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Adding "()" operator to Ada 200X Date: Tue, 03 Jun 2003 18:04:29 +0200 Organization: AdaCL Message-ID: <1325634.ddflWlv0t0@linux1.krischik.com> References: <1ec946d1.0306021542.58714996@posting.google.com> Reply-To: martin@krischik.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1054735183 00 14631 TSLVVnkbTEAkIR 030604 13:59:43 X-Complaints-To: usenet-abuse@t-online.de X-ID: X0yUuQZcYevzF9x+d9mPPzb8h9pvn2drNjzeAES0Q479Y5TOxFhtcq User-Agent: KNode/0.7.2 Xref: archiver1.google.com comp.lang.ada:38599 Date: 2003-06-03T18:04:29+02:00 List-Id: Frank J. Lhota wrote: > But isn't the same thing true of all operators? Instead of defining "+" > for my types, I could define a function named Sum. It would have the same > functionality as the "+", it would just read differently. I agree with your point and put my vote in favour of the O.P.: An array operator would make collection classes much nicer. With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com