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: 103376,e55245590c829bef X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news1.google.com!goblin2!goblin.stu.neva.ru!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Beginners question: Compound types, how-to? Date: Thu, 04 Nov 2010 01:55:50 +0100 Organization: Ada @ Home Message-ID: References: <86wroy58ff.fsf@gareth.avalon.lan> <86pqup5xfy.fsf@gareth.avalon.lan> <86y69d3rec.fsf@gareth.avalon.lan> <82lj5c5ecm.fsf@stephe-leake.org> <79ed13b7-4c55-40c4-9f66-e30ed94e5591@e14g2000yqe.googlegroups.com> <4cd0b0ed$0$6775$9b4e6d93@newsspool3.arcor-online.net> <82vd4e4n2x.fsf@stephe-leake.org> NNTP-Posting-Host: 4vQNEkQz8jPZLol/IaLwBQ.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.63 (Win32) Xref: g2news2.google.com comp.lang.ada:16162 Date: 2010-11-04T01:55:50+01:00 List-Id: Le Wed, 03 Nov 2010 13:18:46 +0100, Stephen Leake a =C3=A9crit: > The reason we need different names for the parameter and the type is > because they are not in separate name spaces in Ada. So it is true tha= t > "the language is not sufficiently well equipped for this kind of help"= . > That's something else the "no _Type" side does not want to admit. > > [...] > > We don't get to change the grammar of Ada. > (Sorry George, still could not configure Opera, asked for support in the= Opera's forum, something seems broken with it) May be a silly idea would be to introduce it as an option, but not a com= piler option, obviously, rather something as a context clause, where we = put the Withed packages. May be (I said, that's a silly idea, remember) = a =E2=80=9Cwith Ada.Type_Name_Space;=E2=80=9D ? =E2=80=A6 which would di= rect the compiler to put type names its their own name-space.