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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,67bb3e29a77c25c6,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Received: by 10.68.38.38 with SMTP id d6mr43152673pbk.4.1317433839453; Fri, 30 Sep 2011 18:50:39 -0700 (PDT) Path: lh7ni8693pbb.0!nntp.google.com!news1.google.com!goblin3!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: pragma Pure (Ada) Date: Sat, 01 Oct 2011 03:50:36 +0200 Organization: Ada @ Home Message-ID: NNTP-Posting-Host: W30wu5BXSfrFU4hm+ZMo7g.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/11.51 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: news1.google.com comp.lang.ada:18251 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2011-10-01T03:50:36+02:00 List-Id: In =E2=80=9CA Brief Introduction to Ada 2012=E2=80=9D (a great paper fro= m John Barnes) -> http://www2.adacore.com/wp-content/uploads/2006/03/Ada2012_Rational_Intr= oducion.pdf On page 12, you may read > Ada 95 introduced the package Ada thus > package Ada is > pragma Pure(Ada); > end Ada; > However, a close reading of the RM revealed that poor Ada > is illegal since the pragma Pure is not in one of the allowed > places for a pragma. Does that mean that this was really illegal from strict layers point of = = view ? So GNAT was hacked ? Notice how John Barnes was pleasantly teasing with the wording, as he = wrote =E2=80=9Cpoor Ada is illegal=E2=80=9D instead of =E2=80=9CPure(Ada= ) is illegal=E2=80=9D :-D -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [Ep= igrams on = Programming =E2=80=94 Alan J. =E2=80=94 P. Yale University] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [Idem] Java: Write once, Never revisit