Re: Modules

From: Dmitry A. Kazakov (mailbox_at_dmitry-kazakov.de)
Date: 12/09/03


Date: Tue, 09 Dec 2003 11:41:48 +0100

On 9 Dec 2003 10:27:34 +0200, Alexandre Bergel <bergel@iam.unibe.ch>
wrote:

>Why? SML, Modula-3 and Ada does not have the notion of inheritance.

Probably you are referring Ada 83 which was not OO. But even so, you
are wrong. Ada 83 had inheritance:

type My_Float is new Float range 0.0..1000.0;

My_Float inherits from Float its operations and literals. This is Ada
83.

--
Regards,
Dmitry Kazakov
http://www.dmitry-kazakov.de


Relevant Pages