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,aaabba5db6b5df34 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!newsfeed.straub-nv.de!news.musoftware.de!wum.musoftware.de!news.weisnix.org!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Min/Max attribute makes promises it can't keep Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <98b7e6f2-32ed-465c-9a52-541b7878ca86@y17g2000yqd.googlegroups.com> <9b17e781-f46a-4384-8809-b16602d10114@y30g2000yqh.googlegroups.com> <880dc0f0-7fff-440d-8aad-6ce745fcfed8@h27g2000yqm.googlegroups.com> <246a7cec-bd5f-4c48-a6cb-3874080c19ab@y17g2000yqd.googlegroups.com> <591866ec-fa46-440c-b6fc-3092985ae3df@r27g2000yqn.googlegroups.com> <8ab2d2d1-b7dc-47bf-824f-4cab334a3fd6@11g2000yqr.googlegroups.com> <1pbp1hhh5yb9k.b6b9xs33b4od$.dlg@40tude.net> <4bd841e7$0$7658$9b4e6d93@newsspool1.arcor-online.net> Date: Wed, 28 Apr 2010 16:53:25 +0200 Message-ID: <1t4extnm6iluj.r4x652cntogc$.dlg@40tude.net> NNTP-Posting-Date: 28 Apr 2010 16:53:22 CEST NNTP-Posting-Host: 3ef5a1da.newsspool1.arcor-online.net X-Trace: DXC=^SZMlnoFhBW5TOT9_N5iI_9LX[6LHn;2LCV^[ On Wed, 28 Apr 2010 16:10:46 +0200, Georg Bauhaus wrote: > On 28.04.10 15:41, Dmitry A. Kazakov wrote: > >> Well, the proposal might be to fix rather the issue of the superfluous >> subtype specification. Obviously Max (and many other attributes) are >> primitive operations and need no subtype to specify. So: >> >> X'Succ, X'Pred, X'Image > > That'll be fun: > > C'Succ'Succ > > 'C'&'&''Succ > > ''''Succ > > (M + N)'Succ This is a slightly different design flaw. Things like "abc"'Length, "abc"'First are illegal in Ada. No fun! BTW, if you prefer dotted notation it could be X.Succ as well. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de