From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-3.2 required=3.0 tests=BAYES_00,NICE_REPLY_A, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: Parameterised 'Image Attributes Date: Mon, 28 Aug 2023 20:58:13 +0300 Organization: Tidorum Ltd Message-ID: References: <4c861cba-9ad6-429d-b530-a40c45dfc176n@googlegroups.com> <41ae24fb-793e-4bb7-9086-c8923ddc5d9dn@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net xwg9GytBwKG2SqWjU6FWeQCTkbpH0JezPWWim2cMLM6paYLtWR Cancel-Lock: sha1:1OOupYUYFSdbgjwd3NbevJb9HEA= sha256:8tzQXfIlK0FD1soR4XKiVe9e3zkKxjdcXljh1FhhI9Y= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Content-Language: en-US In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:65570 List-Id: On 2023-08-28 13:58, Dmitry A. Kazakov wrote: > On 2023-08-28 11:18, Stephen Davies wrote: > >> I did read Randy's response, he explained the difficulty in adding >> parameters to 'Image, > > He rather explained that this will never happen... (:-)) > > There is no good reason why attributes should not have the same > parameter syntax as subprograms and entry calls. Yes in principle, but it is understandble that making this happen now could impact both the language definition and various implementations in non-trivial ways. > Neither there is one > why 'Image must be a non-overridable attribute In Ada 2022, 'Image is defined to call the new attribute 'Put_Image, which can be specified (ie. overridden) by the programmer for any type. See http://www.ada-auth.org/standards/22rm/html/RM-4-10.html.