Re: Ada.Strings.Bounded
- From: "Dmitry A. Kazakov" <mailbox@xxxxxxxxxxxxxxxxx>
- Date: Mon, 14 Apr 2008 20:36:25 +0200
On Mon, 14 Apr 2008 08:25:41 -0700 (PDT), Eric Hughes wrote:
On Apr 14, 2:00 am, "Dmitry A. Kazakov" <mail...@xxxxxxxxxxxxxxxxx>
wrote:
There is a difference between types and their constrained subtypes in terms
of substitutability. That's why the language has Constraint_Error defined.
The contracts extended by Constraint_Error aren't violated and everything
is fine.
Sure, but again not the point. The relationship between a universal
type and an implemented type is NOT the same as that between two
implemented types.
Certainly, but I don't see why should we care about an non-implemented
type. Well, an application dealing with mathematical objects might be
interesting in modeling N, but it is not the language concern. The same way
as Ada does not care about types of organic molecules...
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
.
- Follow-Ups:
- Re: Ada.Strings.Bounded
- From: Eric Hughes
- Re: Ada.Strings.Bounded
- References:
- Untyped Ada?
- From: Phaedrus
- Re: Untyped Ada?
- From: Pascal Obry
- Re: Untyped Ada?
- From: Phaedrus
- Re: Untyped Ada?
- From: Graham
- Re: Untyped Ada?
- From: Pascal Obry
- Re: Ada.Bounded_Strings
- From: Adam Beneschan
- Re: Ada.Strings.Bounded
- From: Adam Beneschan
- Re: Ada.Strings.Bounded
- From: Gautier
- Re: Ada.Strings.Bounded
- From: Pascal Obry
- Re: Ada.Strings.Bounded
- From: Eric Hughes
- Re: Ada.Strings.Bounded
- From: Georg Bauhaus
- Re: Ada.Strings.Bounded
- From: Eric Hughes
- Re: Ada.Strings.Bounded
- From: Robert A Duff
- Re: Ada.Strings.Bounded
- From: Eric Hughes
- Re: Ada.Strings.Bounded
- From: Dmitry A. Kazakov
- Re: Ada.Strings.Bounded
- From: Eric Hughes
- Untyped Ada?
- Prev by Date: Re: Ada.Strings.Bounded
- Next by Date: Re: Ada.Strings.Bounded
- Previous by thread: Re: Ada.Strings.Bounded
- Next by thread: Re: Ada.Strings.Bounded
- Index(es):
Relevant Pages
|