From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Half Constrained Array Types and Slices
Date: 02 Mar 2006 16:01:37 -0500
Date: 2006-03-02T16:01:37-05:00 [thread overview]
Message-ID: <wccacc8y30u.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: LeINf.1227$Bj7.1028@newsread2.news.pas.earthlink.net
"Jeffrey R. Carter" <spam@spam.com> writes:
> Dmitry A. Kazakov wrote:
>
> > subtype Half_Constrained (Length : Natural) is Unconstrained (1, Length);
>
> Again, you have a subtype with 1 discriminant of a type with 2. Are you
> saying that should be legal?
It is already legal for derived types:
type U(Lo, Hi: Integer) is
record
A: String(Lo..Hi);
end record;
type Half(Hi: Integer) is new U(Lo => 1, Hi => Hi);
Not quite the same thing as a subtype...
- Bob
next prev parent reply other threads:[~2006-03-02 21:01 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-02 5:00 Half Constrained Array Types and Slices Jeffrey R. Carter
2006-03-02 8:34 ` Dmitry A. Kazakov
2006-03-02 15:34 ` Georg Bauhaus
2006-03-02 19:37 ` Dmitry A. Kazakov
2006-03-02 20:06 ` Jeffrey R. Carter
2006-03-02 20:37 ` Dmitry A. Kazakov
2006-03-02 21:01 ` Robert A Duff [this message]
2006-03-02 20:40 ` Robert A Duff
2006-03-02 14:32 ` Larry Kilgallen
2006-03-02 20:08 ` Jeffrey R. Carter
2006-03-02 20:48 ` Robert A Duff
2006-03-06 2:16 ` Larry Kilgallen
2006-03-06 18:50 ` Martin Krischik
2006-03-02 20:38 ` Robert A Duff
2006-03-03 5:15 ` Jeffrey R. Carter
2006-03-03 8:57 ` Dmitry A. Kazakov
2006-03-03 23:41 ` Robert A Duff
2006-03-06 17:50 ` Jeff Carter
2006-03-06 18:31 ` Dmitry A. Kazakov
2006-03-07 19:02 ` Jeff Carter
2006-03-08 14:29 ` Dmitry A. Kazakov
2006-03-09 22:44 ` Robert A Duff
2006-03-10 8:46 ` Dmitry A. Kazakov
2006-03-06 19:49 ` Stefan Lucks
2006-03-08 17:36 ` brian.b.mcguinness
2006-03-08 17:56 ` Jeff Carter
2006-03-09 22:36 ` Robert A Duff
2006-03-10 4:28 ` Jeffrey R. Carter
2006-03-10 8:46 ` Dmitry A. Kazakov
2006-03-10 17:33 ` Robert A Duff
2006-03-10 21:24 ` Dmitry A. Kazakov
2006-03-10 17:38 ` Robert A Duff
2006-03-11 0:19 ` Randy Brukardt
2006-03-11 1:43 ` Jeffrey R. Carter
2006-03-11 8:38 ` Niklas Holsti
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox