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,81bb2ce65a3240c3 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.211.136 with SMTP id nc8mr2097990pbc.6.1335342441236; Wed, 25 Apr 2012 01:27:21 -0700 (PDT) Path: r9ni96188pbh.0!nntp.google.com!news2.google.com!news.glorb.com!feeder.erje.net!news-1.dfn.de!news.dfn.de!news.uni-weimar.de!not-for-mail From: stefan-lucks@see-the.signature Newsgroups: comp.lang.ada Subject: Re: What would you like in Ada202X? Date: Wed, 25 Apr 2012 10:30:07 +0200 Organization: Bauhaus-Universitaet Weimar Message-ID: References: <3637793.35.1335340026327.JavaMail.geo-discussion-forums@ynfi5> Reply-To: stefan-lucks@see-the.signature NNTP-Posting-Host: medsec1.medien.uni-weimar.de Mime-Version: 1.0 X-Trace: tigger.scc.uni-weimar.de 1335342441 5637 141.54.178.228 (25 Apr 2012 08:27:21 GMT) X-Complaints-To: news@tigger.scc.uni-weimar.de NNTP-Posting-Date: Wed, 25 Apr 2012 08:27:21 +0000 (UTC) X-X-Sender: lucks@medsec1.medien.uni-weimar.de In-Reply-To: Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Date: 2012-04-25T10:30:07+02:00 List-Id: On Wed, 25 Apr 2012, Yannick Duch�ne (Hibou57) wrote: > 4) constant as anonymous functions (just like enumeration items are) (**) What are you asking for, beyond what Ada 2012 already provides? With Ada 2012, you can write function To_String(X: Integer) return String is ("don't know"); even in a package specification (then, To_String does not need an implementation). -- ---- Stefan.Lucks (at) uni-weimar.de, University of Weimar, Germany ---- ------ I love the taste of Cryptanalysis in the morning! ------