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-Thread: 103376,70414f56d810c10c X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.22.198 with SMTP id g6mr1086851pbf.29.1316368901761; Sun, 18 Sep 2011 11:01:41 -0700 (PDT) Path: m9ni9068pbd.0!nntp.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!news2.euro.net!feeder.news-service.com!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: discriminant questions Date: Sun, 18 Sep 2011 20:01:42 +0200 Organization: cbb software GmbH Message-ID: References: <9f37b726-d80b-4d24-bf3f-28a14255f7fd@s20g2000yql.googlegroups.com> <86015926-d652-4265-aedd-413312d399f9@dq7g2000vbb.googlegroups.com> <0d272f62-67d0-4905-972c-8a7e912c5531@en1g2000vbb.googlegroups.com> <148cxoyabima2.16mz6xwdph2hj.dlg@40tude.net> <01a1374f-59ab-40be-9e39-0640cb2a513d@n35g2000yqf.googlegroups.com> <1fp2o673mu9az$.d9loz1zbcl0d.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: MHgphDs7YlgXczxEMe6nJw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news1.google.com comp.lang.ada:18018 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2011-09-18T20:01:42+02:00 List-Id: On Sun, 18 Sep 2011 12:46:19 -0400, Robert A Duff wrote: > "Dmitry A. Kazakov" writes: > >> I am not sure if Ada 2012 offers new features interesting for designers of >> container libraries. OK, maybe one, functions have finally got [in] out >> parameters. > > There's a whole bunch of stuff. Look at these AI's: > > AI05-0139-2.TXT : !subject Syntactic sugar for accessors, containers, and iterators > AI05-0142-4.TXT : !subject Explicitly aliased parameters When interfaces were introduced I thought they would make the use simpler, but that didn't happen, because re-use was thrown overboard. Limited results and aggregates was an obvious miss. The mentioned features look much like hacks. > AI05-0143-1.TXT : !subject In Out parameters for functions Finally. > AI05-0162-1.TXT : !subject Allow incomplete types to be completed by partial views This one is helpful, I ran into this one or two times. > AI05-0212-1.TXT : !subject Accessors and Iterators for Ada.Containers I don't care about iterators and accessors, they IMO are just misconceptions coming from languages with pointers. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de