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,73f15dbe4ec16d06 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-06 03:56:16 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: maa@liacc.up.pt (=?UTF-8?Q?M=C3=A1rio_Amado_Alves?=) Newsgroups: comp.lang.ada Subject: Re: Adding "()" operator to Ada 200X Date: 6 Jun 2003 03:56:15 -0700 Organization: http://groups.google.com/ Message-ID: <4a4de33a.0306060256.52b12d70@posting.google.com> References: <4a4de33a.0306030823.cd30642@posting.google.com> NNTP-Posting-Host: 62.48.153.206 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1054896975 12507 127.0.0.1 (6 Jun 2003 10:56:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 6 Jun 2003 10:56:15 GMT Xref: archiver1.google.com comp.lang.ada:38758 Date: 2003-06-06T10:56:15+00:00 List-Id: > IMO one should first add a new set of types: "index" types. (Dmitry) Maybe *every* 'conceptual' type should be in the type system. A la Smalltalk. This includes exceptions (cf. AE'2001) and, yes, ranges. It always bugged me what is the 'return type' of the Range attribute. I think it's the only attribute that does not return a type proper. Even exceptions and tags have their 'surrogates' in the type system. I can see "I .. J" as sugar for "Range (From => I, To => J)". ".." as an operator! But this be too much to prepare for Ada 200Y :-( Ada 20XX maybe, if we're still around :-)