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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a00006d3c4735d70 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-28 02:30:15 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: wojtek@power.com.pl (Wojtek Narczynski) Newsgroups: comp.lang.ada Subject: Re: In-Out Parameters for functions Date: 28 Jan 2004 02:30:15 -0800 Organization: http://groups.google.com Message-ID: <5ad0dd8a.0401280230.5c800894@posting.google.com> References: <5ad0dd8a.0401240721.7682f2e1@posting.google.com> NNTP-Posting-Host: 62.111.211.178 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1075285815 19479 127.0.0.1 (28 Jan 2004 10:30:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 28 Jan 2004 10:30:15 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:4989 Date: 2004-01-28T02:30:15-08:00 List-Id: Robert A Duff wrote in message news:... > Peter Amey writes: > > >... SPARK functions never have side effects, ... > > SPARK is consistent. No side effects involving globals, no side effects > involving parameters. No side effects. Simple. But would you embark on writing, for example, a high performance email server in SPARK? > Ada is inconsistent -- as Robert Dewar says, side effects are allowed, > so long as you don't document them on the function spec. Looks to me like the ARG is far from agreement on this subject :-) Regards, Wojtek