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!news.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Aspect CPU Date: Wed, 15 Jan 2014 21:18:34 +0100 Organization: A noiseless patient Spider Message-ID: References: <27ff7582-b2bd-4a51-80a9-6a65a8c3f38b@googlegroups.com> <74bb1a6c-4239-448b-aa0c-41684cc0fdf5@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 15 Jan 2014 20:18:34 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="26c2f0dcf482e7e52ca5cfb16352a264"; logging-data="4913"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+MJ7cUYrOIOxsTOclItITs" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: Cancel-Lock: sha1:8DS//yzFIgpLdFGzjTd9SlQMKdc= X-Enigmail-Version: 1.6 Xref: news.eternal-september.org comp.lang.ada:18185 Date: 2014-01-15T21:18:34+01:00 List-Id: Le 15/01/2014 21:00, Simon Wright a écrit : > Anh Vo writes: > >> By the way, do you mind to tell which >> section of RM showing this declarative syntax. > > For tasks, 9.1(2), > http://www.ada-auth.org/standards/12rm/html/RM-9-1.html#p2 > > There doesn't seem to be an overarching rule for aspect syntax. You > might have thought that the aspects would always come before the 'is', > perhaps, but not so: see 3.2.1(3), > http://www.ada-auth.org/standards/12rm/html/RM-3-2-1.html#p3 > Yeap, normally the aspect should go after the type definition, but in the case of a task type, it was felt that it would put them too far away, at a place where nobody would see it. -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr