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,185d6eb35f7cb1d6 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!u72g2000hsf.googlegroups.com!not-for-mail From: "=?ISO-8859-1?Q?Hibou57_(Yannick_Duch=EAne)?=" Newsgroups: comp.lang.ada Subject: Re: Private type definition must be definite : but why ? Date: Sat, 1 Mar 2008 16:37:57 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <074b2c5d-289c-42b1-bbf5-de9354f0ddcf@c33g2000hsd.googlegroups.com> NNTP-Posting-Host: 86.66.190.29 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1204418277 25055 127.0.0.1 (2 Mar 2008 00:37:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 2 Mar 2008 00:37:57 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: u72g2000hsf.googlegroups.com; posting-host=86.66.190.29; posting-account=vrfdLAoAAAAauX_3XwyXEwXCWN3A1l8D User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.23 (Windows NT 5.1; U; fr),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:20159 Date: 2008-03-01T16:37:57-08:00 List-Id: Oops, sorry.... I was to much speedy to see a trouble here. I just have to use an unknown discriminant part (beceause it is private), thus just have to do > package Xxx > type Data_Row_Type(<>) is private; > ... > private > type Data_Row_Type is new String; > ... > end Xxx; And it works, and every body's happy... me first :D Well, to be honest, I still do not understand why the user have to know there is are unknow discriminants somewhere..... the user does not need to know.