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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.43.14.137 with SMTP id pq9mr4687144icb.12.1396552262609; Thu, 03 Apr 2014 12:11:02 -0700 (PDT) X-Received: by 10.50.9.71 with SMTP id x7mr514089iga.6.1396552262510; Thu, 03 Apr 2014 12:11:02 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!ur14no1954450igb.0!news-out.google.com!gi6ni171igc.0!nntp.google.com!l13no2407407iga.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 3 Apr 2014 12:11:01 -0700 (PDT) In-Reply-To: <1396545517.12456.30.camel@pascal.home.net> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=96.226.229.219; posting-account=zwxLlwoAAAChLBU7oraRzNDnqQYkYbpo NNTP-Posting-Host: 96.226.229.219 References: <7f1c01c5-3563-4b94-9831-152dbbf2ecdc@googlegroups.com> <2d62368c-9f64-49f3-98a8-5121d0c0fa23@googlegroups.com> <1396504291.12566.134.camel@pascal.home.net> <1396545517.12456.30.camel@pascal.home.net> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <16bc2a3a-954c-41b0-a419-0587de3e6520@googlegroups.com> Subject: Re: Your wish list for Ada 202X From: "Dan'l Miller" Injection-Date: Thu, 03 Apr 2014 19:11:02 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:19095 Date: 2014-04-03T12:11:01-07:00 List-Id: On Thursday, April 3, 2014 12:18:37 PM UTC-5, Pascal Obry wrote: > Le mercredi 02 avril 2014 =E0 23:27 -0700, Jeffrey Carter a =E9crit :=20 >=20 > > On 04/02/2014 10:51 PM, Pascal Obry wrote: >=20 > > > >=20 > > > But again this is doable today in Ada (even 1983) with a library and >=20 > > > proper overriding of the operators. >=20 > >=20 >=20 > > Well, no. Unbounded_Integer would work like any other integer type. You= wouldn't=20 >=20 > > have to convert literals or named numbers: >=20 > >=20 >=20 > > I : Unbounded_Integer :=3D 1E1000; >=20 >=20 >=20 > Ok, some little annoyance indeed. >=20 >=20 >=20 > In the same vein, something that is annoying is to have to create record >=20 > for returning multiple values from a function. I would rather like to >=20 > have support for tuple. >=20 >=20 >=20 > A, B : Integer; >=20 >=20 >=20 > function MyName return (Integer, Integer); >=20 >=20 >=20 > And then be able to write: >=20 >=20 >=20 > (A, B) :=3D (9, 12); >=20 >=20 >=20 > or >=20 > (A, B) :=3D MyName; >=20 >=20 >=20 > Today you need to create a record just for that. >=20 >=20 >=20 > --=20 >=20 > Pascal Obry / Magny Les Hameaux (78) >=20 >=20 >=20 > The best way to travel is by means of imagination >=20 >=20 >=20 > http://v2p.fr.eu.org >=20 > http://www.obry.net >=20 >=20 >=20 > gpg --keyserver keys.gnupg.net --recv-key F949BD3B