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,81bb2ce65a3240c3 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.223.40 with SMTP id qr8mr1387976pbc.0.1335683585262; Sun, 29 Apr 2012 00:13:05 -0700 (PDT) Path: r9ni111151pbh.0!nntp.google.com!news2.google.com!news.glorb.com!feeder.erje.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: What would you like in Ada202X? Date: Sun, 29 Apr 2012 09:13:02 +0200 Organization: cbb software GmbH Message-ID: <1ajqoreyeyak3$.1tw8fg5rozngl.dlg@40tude.net> References: <3637793.35.1335340026327.JavaMail.geo-discussion-forums@ynfi5> <6167748.344.1335524349986.JavaMail.geo-discussion-forums@yncd3> <31624258.2178.1335671551666.JavaMail.geo-discussion-forums@vbdx11> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: Gbl624r6iuNIccy3ASy5ag.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-04-29T09:13:02+02:00 List-Id: On Sat, 28 Apr 2012 20:52:31 -0700 (PDT), Shark8 wrote: > On Friday, April 27, 2012 5:59:09 AM UTC-5, Martin wrote: >> >> 5) The ability to override the 'Image function >> 6) An alternative to 'Image that doesn't have a leading space for integers! >> >> -- Martin > > I thought I read about a way to do a user-defined Image function that > would override the default 'Image attribute... but, alas, I cannot find it. simply by making all attributes primitive operations. However, attributes of like T'Image (X) should be replaced with X'Image. You don't need to mention T if 'Image is primitive. If we go a little further, we will notice that Image is doubly dispatching on its argument of T and the result of String, which should be from a class that includes Wide_String, Unbounded_String etc. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de