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,6689542a60dbcc55 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!postnews.google.com!j18g2000yqd.googlegroups.com!not-for-mail From: Martin Newsgroups: comp.lang.ada Subject: Re: Discriminated records are not the most efficient, but ... Date: Mon, 23 Aug 2010 04:44:36 -0700 (PDT) Organization: http://groups.google.com Message-ID: <54fd0620-5ca9-45b9-80c7-497b02f85e10@j18g2000yqd.googlegroups.com> References: <874oemcr37.fsf@mid.deneb.enyo.de> <4c71e5fc$0$2388$4d3efbfe@news.sover.net> <8dejelF6qlU1@mid.individual.net> NNTP-Posting-Host: 20.133.0.8 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1282563883 9614 127.0.0.1 (23 Aug 2010 11:44:43 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 23 Aug 2010 11:44:43 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j18g2000yqd.googlegroups.com; posting-host=20.133.0.8; posting-account=g4n69woAAACHKbpceNrvOhHWViIbdQ9G User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.7) Gecko/20100701 Firefox/3.6.7,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:13665 Date: 2010-08-23T04:44:36-07:00 List-Id: On 23 Aug, 08:33, Simon Wright wrote: > Niklas Holsti writes: > > Subprograms can be compiled on their own, without being enclosed in a > > package. > > And a main subprogram is usually a compilation unit, ie not in a package > (though I can't see anything that actually requires that,http://www.adaic.com/standards/05rm/html/RM-10-2.html(7)). Used to be required in Ada83 (see http://archive.adaic.com/standards/83lrm/html/lrm-10-01.html#10.1 - just before 'Notes') but Ada95 relaxed the rules. -- Martin