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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,bdebc54a485c13a4 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.202.168 with SMTP id kj8mr14472496pbc.1.1332833457709; Tue, 27 Mar 2012 00:30:57 -0700 (PDT) Path: z9ni6662pbe.0!nntp.google.com!news2.google.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: My first compiler bug: work around or redesign? Date: Tue, 27 Mar 2012 09:30:17 +0200 Organization: cbb software GmbH Message-ID: <9tmdku5vxrm3$.76oq0059bes0$.dlg@40tude.net> References: <4f70e3e5$0$6566$9b4e6d93@newsspool4.arcor-online.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-03-27T09:30:17+02:00 List-Id: On Mon, 26 Mar 2012 23:47:17 +0200, Georg Bauhaus wrote: > Looks quite right to me to say "not null" when a parameter shouldn't > be null. Yes. >From usability point of view it is better to use an anonymous type for a procedures meant to be a downward closure. This is the most close approximation to passing a procedure as a parameter (missing in Ada). -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de