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 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!aioe.org!.POSTED!not-for-mail From: Pascal Obry Newsgroups: comp.lang.ada Subject: Re: Your wish list for Ada 202X Date: Thu, 03 Apr 2014 19:18:37 +0200 Organization: Home - http://www.obry.net Message-ID: <1396545517.12456.30.camel@pascal.home.net> References: <7f1c01c5-3563-4b94-9831-152dbbf2ecdc@googlegroups.com> <2d62368c-9f64-49f3-98a8-5121d0c0fa23@googlegroups.com> <1396504291.12566.134.camel@pascal.home.net> Reply-To: pascal@obry.net NNTP-Posting-Host: Orc9jTt42m5E8pbj+j12Ig.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Complaints-To: abuse@aioe.org X-Mailer: Evolution 3.8.5-2+b3 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:19094 Date: 2014-04-03T19:18:37+02:00 List-Id: Le mercredi 02 avril 2014 =C3=A0 23:27 -0700, Jeffrey Carter a =C3=A9crit := =20 > On 04/02/2014 10:51 PM, Pascal Obry wrote: > > > > But again this is doable today in Ada (even 1983) with a library and > > proper overriding of the operators. >=20 > Well, no. Unbounded_Integer would work like any other integer type. You w= ouldn't=20 > have to convert literals or named numbers: >=20 > I : Unbounded_Integer :=3D 1E1000; Ok, some little annoyance indeed. In the same vein, something that is annoying is to have to create record for returning multiple values from a function. I would rather like to have support for tuple. A, B : Integer; function MyName return (Integer, Integer); And then be able to write: (A, B) :=3D (9, 12); or (A, B) :=3D MyName; Today you need to create a record just for that. --=20 Pascal Obry / Magny Les Hameaux (78) The best way to travel is by means of imagination http://v2p.fr.eu.org http://www.obry.net gpg --keyserver keys.gnupg.net --recv-key F949BD3B