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,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 tl10mr15366618pbc.7.1335770930317; Mon, 30 Apr 2012 00:28:50 -0700 (PDT) Path: r9ni114951pbh.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Martin Newsgroups: comp.lang.ada Subject: Re: What would you like in Ada202X? Date: Mon, 30 Apr 2012 00:28:49 -0700 (PDT) Organization: http://groups.google.com Message-ID: <31031393.3509.1335770929925.JavaMail.geo-discussion-forums@vbjb10> References: <3637793.35.1335340026327.JavaMail.geo-discussion-forums@ynfi5> <6167748.344.1335524349986.JavaMail.geo-discussion-forums@yncd3> NNTP-Posting-Host: 20.133.0.8 Mime-Version: 1.0 X-Trace: posting.google.com 1335770930 4056 127.0.0.1 (30 Apr 2012 07:28:50 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 30 Apr 2012 07:28:50 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=20.133.0.8; posting-account=g4n69woAAACHKbpceNrvOhHWViIbdQ9G User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-04-30T00:28:49-07:00 List-Id: On Friday, April 27, 2012 6:05:16 PM UTC+1, Simon Wright wrote: > Martin writes: > > > 4) 'Image for records/arrays > > > > Or some means of iterating through each component, obtaining its name > > and values, such that I could write my own function quickly. > > > > 5) The ability to override the 'Image function > > 6) An alternative to 'Image that doesn't have a leading space for integers! > > For symmetry, I suppose we'd need 'Value as well. Some might say it's > less important, and if the only use of 'Image is in debugging, I might > agree; but I've come across a case (white-box functional testing) where > I needed both, Value so I could specify inputs and expected outputs, and > Image so I could report when the results were wrong. Sorry Simon, I don't understand why we would need another 'Value?... Integer'Value (" 1") => 1 Integer'Value ("1") => 1 What am I missing?! -- Martin