comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Interfaces and abstract tagged types
Date: Sun, 05 Oct 2008 16:29:36 -0400
Date: 2008-10-05T16:29:36-04:00	[thread overview]
Message-ID: <wcc63o623bj.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: 1w8x4i0peinwk$.16cenhvch5kv5.dlg@40tude.net

"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:

> On Sun, 05 Oct 2008 07:01:31 GMT, Dale Stanbrough wrote:
>
>> I was wondering what the magical incantation is to have an abtract 
>> tagged null record (or abstract tagged private) also implement an 
>> Interface.
>> 
>> I've tried various combinations reserved words, all without much luck!
>
>    type X is limited interface;
>    type Y is abstract tagged null record;
>    type Z is abstract new Y and X with null record;

Yes, or:

    type A is limited interface;
    type B is new A with null record;

> (Interfaces was a huge mistake)

Interesting.  Why do you say so?

- Bob



  reply	other threads:[~2008-10-05 20:29 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-05  7:01 Interfaces and abstract tagged types Dale Stanbrough
2008-10-05  7:43 ` Dmitry A. Kazakov
2008-10-05 20:29   ` Robert A Duff [this message]
2008-10-06  8:25     ` Dmitry A. Kazakov
2008-10-16  7:51       ` Ivan Levashew
2008-10-16  8:29         ` Dmitry A. Kazakov
2008-10-16  9:23           ` Ivan Levashew
2008-10-16 10:05             ` Dmitry A. Kazakov
2008-10-16 10:27               ` Georg Bauhaus
2008-10-16 12:21                 ` Dmitry A. Kazakov
2008-10-16 13:35                   ` Georg Bauhaus
2008-10-16 14:30                     ` Dmitry A. Kazakov
2008-10-23  6:39                 ` Ivan Levashew
2008-10-25  8:57                   ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox