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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,cadf87a839d5869c X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 X-Received: by 10.66.232.162 with SMTP id tp2mr7116084pac.29.1367819760707; Sun, 05 May 2013 22:56:00 -0700 (PDT) Path: ln4ni1451pbb.0!nntp.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newsfeed1.swip.net!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Generic access type convention and aliasing Date: Mon, 06 May 2013 07:55:45 +0200 Organization: Ada @ Home Message-ID: References: NNTP-Posting-Host: 01/BPNoqk8s7XmPzrYdoUA.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.15 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 X-Received-Bytes: 1840 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2013-05-06T07:55:45+02:00 List-Id: Le Mon, 06 May 2013 02:20:03 +0200, Yannick Duch=C3=AAne (Hibou57) = a =C3=A9crit: > > (*) A variable which I would enjoy to force to be a constant after = > record initialization, but I can't; another story. I also wished I could specify it must be a limited access type. Out of = curiosity, I searched the web on this topic, and found this was already = = proposed. See this AI: http://www.ada-auth.org/cgi-bin/cvsweb.cgi/ai05s/ai05-0142-2.txt?rev=3D1= .3 The status is =E2=80=9CWork item=E2=80=9D. Although just a proposal, I wanted to try (even before I've seen this AI= ) = in case GNAT may implement this proposal, but it seems to not (it just = complains =E2=80=9Csubtype indication expected=E2=80=9D when it sees =E2= =80=9Climited=E2=80=9D). -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity