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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,11414a19b0e4a97a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!goblin3!goblin1!goblin.stu.neva.ru!news.tornevall.net!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Advice on selling Ada to a C shop Date: Tue, 29 Jun 2010 15:30:12 -0500 Organization: Jacob Sparre Andersen Message-ID: References: <101bf8f3-b823-45ee-9afd-40cbafb4b7a9@t26g2000prt.googlegroups.com> <774c25c4-3270-4ffb-ad19-366a0ab16659@i31g2000yqm.googlegroups.com> <4c22669b$0$3623$4d3efbfe@news.sover.net> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1277843414 5456 69.95.181.76 (29 Jun 2010 20:30:14 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Tue, 29 Jun 2010 20:30:14 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5843 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-RFC2646: Format=Flowed; Original Xref: g2news2.google.com comp.lang.ada:12969 Date: 2010-06-29T15:30:12-05:00 List-Id: "Adam Beneschan" wrote in message news:f8cf7493-96cf-4265-8e60-28a3945e1169@j8g2000yqd.googlegroups.com... ... >I don't think conditional expressions are officially part of Ada yet. >The changes haven't been approved. So if some compiler accepts them, >it's a compiler for some other language that isn't Ada. The ARG approved AI-147 on Sunday, June 20th by a 9-0-0 vote. Note that we had decided long ago to add conditional expressions; we have been hung up on the detailed wording of the resolution rules for them, and whether various obscure cases needed to work properly. For instance: In a function returning T'Class: return (if C then A else B); -- A and B have different types, both covered by T'Class. A conversion: T'Class (if C then A else B); -- A and B as above. The goal was to make them as natural as possible, so ultimately, both of the above were determined to be acceptable. Randy.