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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,640b65cbfbab7216 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!postnews.google.com!k10g2000prm.googlegroups.com!not-for-mail From: Eric Hughes Newsgroups: comp.lang.ada Subject: Re: Ada.Strings.Bounded Date: Tue, 15 Apr 2008 19:51:17 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <47f7028d$1_6@news.bluewin.ch> <47F749CB.30806@obry.net> <96x8my4o4m7e.fskzcb6i31ty$.dlg@40tude.net> <276e98e3-3b3b-4cbf-b85c-dcae79f11ec5@b5g2000pri.googlegroups.com> <013e1d52-c25f-49ea-83ef-6ac4860858bf@s13g2000prd.googlegroups.com> <8g2rpvi2ahu0$.1ebsyq5yu1whf.dlg@40tude.net> <9a3ad8ca-9f44-42db-9f7c-c5f9e3ee60f3@w1g2000prd.googlegroups.com> <1jdzw15tbj376$.nyv9yml75wj4$.dlg@40tude.net> <80c6fdca-1a89-4d98-b61d-9a405e57d8e5@s13g2000prd.googlegroups.com> <1wh7cbu67y4wz$.7iu8likx0fct.dlg@40tude.net> <1o15srmp9d9pu.1pwm5j8g8gonv$.dlg@40tude.net> NNTP-Posting-Host: 166.70.57.218 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1208314277 32370 127.0.0.1 (16 Apr 2008 02:51:17 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 16 Apr 2008 02:51:17 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k10g2000prm.googlegroups.com; posting-host=166.70.57.218; posting-account=5RIiTwoAAACt_Eu87gmPAJMoMTeMz-rn User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:20969 Date: 2008-04-15T19:51:17-07:00 List-Id: On Tue, 15 Apr 2008 07:20:15 -0700 (PDT), Eric Hughes wrote: > Perhaps you could explain what you want universal_integer to be. On Apr 15, 9:23 am, "Dmitry A. Kazakov" wrote: > Merely the type of a static numeric expression. Well, it isn't, a > counterexample is: > > A'Length (ARM 3.6.2) The fact that lengths are limited does not mean that their values cannot sit within a type whose values are not. The set of possible values of lengths for a certain compiler are a subset of the values of universal_integer. > Universal_Integer is not necessarily Root_Integer, but somewhere close to > the root of Root_Integer'Class. "Somewhere close" is not a definition. Please be more specific. > > If you can show me a Ada definition that can store a > > universal_integer, only then will I believe you that it's the kind of > > type that's just like an ordinary Ada type. > > type T is abstract private; > > Can you store T? By ordinary type, I mean the kind that's assignable, not abstract, not an interface, something you can declare a variable of. Eric