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.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA 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.232.42 with SMTP id tl10mr19764019pbc.7.1335895992965; Tue, 01 May 2012 11:13:12 -0700 (PDT) Path: r9ni120483pbh.0!nntp.google.com!news1.google.com!goblin2!goblin1!goblin.stu.neva.ru!news.tornevall.net!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: What would you like in Ada202X? Date: Tue, 01 May 2012 11:13:10 -0700 Organization: TornevallNET - http://news.tornevall.net Message-ID: References: <3637793.35.1335340026327.JavaMail.geo-discussion-forums@ynfi5> <6167748.344.1335524349986.JavaMail.geo-discussion-forums@yncd3> <31031393.3509.1335770929925.JavaMail.geo-discussion-forums@vbjb10> <1632135.1857.1335857306358.JavaMail.geo-discussion-forums@ynjb15> <33504818.125.1335892543393.JavaMail.geo-discussion-forums@ynbv35> NNTP-Posting-Host: a9cc38e9756f77e86e3f6b3acbbed673 Mime-Version: 1.0 X-Trace: 424841cafe193836727e306060ba5007 X-Complaints-To: abuse@tornevall.net User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 X-Complaints-Language: Spoken language is english or swedish - NOT ITALIAN, FRENCH, GERMAN OR ANY OTHER LANGUAGE! In-Reply-To: <33504818.125.1335892543393.JavaMail.geo-discussion-forums@ynbv35> X-UserIDNumber: 1738 X-Validate-Post: http://news.tornevall.net/validate.php?trace=424841cafe193836727e306060ba5007 X-Complaints-Italiano: Non abbiamo padronanza della lingua italiana - se mandate una email scrivete solo in Inglese, grazie X-Posting-User: 0243687135df8c4b260dd4a9a93c79bd Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2012-05-01T11:13:10-07:00 List-Id: On 05/01/2012 10:15 AM, Shark8 wrote: > > Hm, why not rename Trim or make a subprogram/function that wraps it? Could > the new expression functions perhaps do that? (I haven't played w/ them.) > > Or, I suppose that since this is a "feature X would be cool" thread, > something like String'Trim( " DATA STRING " ) to return "DATA STRING" > attribute; much like we have Float'Truncation(X). Seems reasonable to me. > > It might be a little wordier than some would like; but Ada's always > emphasized readability, and the above method seems to fit in well, especially > considering the 'Truncation attribute. At work we make heavy use of PragmARC.Images. http://pragmada.x10hosting.com/ http://pragmada.co.cc/ -- Jeff Carter "It's all right, Taggart. Just a man and a horse being hung out there." Blazing Saddles 34