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 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.unit0.net!news.uni-stuttgart.de!news-1.dfn.de!news.dfn.de!news.uni-weimar.de!medsec1.medien.uni-weimar.de!lucks From: Stefan.Lucks@uni-weimar.de Newsgroups: comp.lang.ada Subject: Re: Community Input for the Maintenance and Revision of the Ada Programming Language Date: Fri, 11 Aug 2017 10:53:29 +0200 Organization: Bauhaus-Universitaet Weimar 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> NNTP-Posting-Host: medsec1.medien.uni-weimar.de Mime-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="8323329-518523534-1502441610=:758" X-Trace: pinkpiglet.scc.uni-weimar.de 1502441611 10991 141.54.178.228 (11 Aug 2017 08:53:31 GMT) X-Complaints-To: news@pinkpiglet.scc.uni-weimar.de NNTP-Posting-Date: Fri, 11 Aug 2017 08:53:31 +0000 (UTC) X-X-Sender: lucks@debian In-Reply-To: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Xref: news.eternal-september.org comp.lang.ada:47703 Date: 2017-08-11T10:53:29+02:00 List-Id: --8323329-518523534-1502441610=:758 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Fri, 11 Aug 2017, Dmitry A. Kazakov wrote: >> function Calculate(A, B, C: Integer; D, E, F: Float) return Numeric; >> -- returns either Integer or Float > [...] > > This looks awful to me. Well, I didn't say I would like that. But the OP asked for the ad-hoc creation of anonymous tuples, as in function Calculate(A, B, C: Integer; D, E, F: Float) return (Integer or Float); (without actually suggesting a specific syntax; the syntax is mine), and=20 my point was, that if you want tuples for Ada, you should ask to define=20 them as proper types, rather than as ad-hoc anonymous types. Stefan -------- I love the taste of Cryptanalysis in the morning! -------= - www.uni-weimar.de/de/medien/professuren/mediensicherheit/people/stefan-luck= s ----Stefan.Lucks (at) uni-weimar.de, Bauhaus-Universit=E4t Weimar, Germany-= --- --8323329-518523534-1502441610=:758--