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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT 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!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!newsfeed.xs3.de!io.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Community Input for the Maintenance and Revision of the Ada Programming Language Date: Thu, 10 Aug 2017 20:31:47 -0500 Organization: JSA Research & Innovation Message-ID: References: <1395655516.524005222.638450.laguest-archeia.com@nntp.aioe.org> <1502382504.2184.6.camel@obry.net> <466561720.524077501.729508.laguest-archeia.com@nntp.aioe.org> Injection-Date: Fri, 11 Aug 2017 01:31:48 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="31065"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: news.eternal-september.org comp.lang.ada:47694 Date: 2017-08-10T20:31:47-05:00 List-Id: "Luke A. Guest" wrote in message news:466561720.524077501.729508.laguest-archeia.com@nntp.aioe.org... > Pascal Obry wrote: >> Le mercredi 09 août 2017 à 22:08 +0100, Luke A.Guest a écrit : >>> 4) multiple return types: >>> >>> function Blah return Integer, Float; >> >> Generalized tuples. I would like this too. >> > > I wanted this in Ada95 when I wanted to return a value and an error code > from a function, had to change it to a procedure, could do it now with an > out parameter on a function but a type would still be better. Error codes are evil. Use an exception. ;-) (Yes, this has happened to me, too, but that doesn't change the above.) Speaking of evil, anonymous types are evil. Why is it hard to declare a record type for this purpose? Randy.