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: a07f3367d7,826cd690cb6a7585 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: The simple Image issue Date: Wed, 31 Aug 2011 17:08:51 +0100 Organization: A noiseless patient Spider Message-ID: References: <904e717e-da4c-46c9-bbc2-4bae8368d459@l4g2000vbv.googlegroups.com> <4e5d139f$0$6575$9b4e6d93@newsspool3.arcor-online.net> <3756bc0c-d938-4b45-baa1-b80e59d58055@a10g2000prn.googlegroups.com> <1a879va9fjuwo.1r1b6vbp45lx5.dlg@40tude.net> <4e5dd1c1$0$6638$9b4e6d93@newsspool2.arcor-online.net> <4e5e58ee$0$2996$a8266bb1@newsreader.readnews.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx04.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="7810"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+cG3FPw+jSTfRSDN2x39KqU7HlqKgZ86g=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin) Cancel-Lock: sha1:PE9f2cciK0chR9HqV1bBlWrrr3g= sha1:LZX3uFvUpGeTSJblQF8namsf9RI= Xref: g2news1.google.com comp.lang.ada:20778 Date: 2011-08-31T17:08:51+01:00 List-Id: Hyman Rosen writes: > On 8/31/2011 2:16 AM, Georg Bauhaus wrote: >> In which way would you change T'Value for symmetry? > > You wouldn't, because the symmetry is false. When you > already have an object, being forced to name its type > is silly and redundant. When you have a string and want > it converted to an object, of course you need to say > what type it's becoming. I would have thought overload resolution would solve a lot of problems? X : Integer := "123"'Value; Y : Float := "1.0e-9"'Value; (not that I approve of the suggestion, quite happy with the current setup for 'Value. On the other hand, I'm a frequent user of GNAT's 'Img - not of course in code that's intended to be portable!)