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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,42e401e32683b965 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!news2.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!noris.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: A new notion: stronglly-typed-by-user language Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <4bc895c9$0$6975$9b4e6d93@newsspool4.arcor-online.net> Date: Fri, 16 Apr 2010 19:24:39 +0200 Message-ID: <1jjpbc9gydv5v.4k4dlkyntw06$.dlg@40tude.net> NNTP-Posting-Date: 16 Apr 2010 19:24:39 CEST NNTP-Posting-Host: f368b8f2.newsspool4.arcor-online.net X-Trace: DXC=ee8m;_m0fdj<6cDJZfMd_c4IUK On Fri, 16 Apr 2010 18:52:24 +0200, Georg Bauhaus wrote: > A Current and a Count might > be logically unrelated, and they tend to be of different types in Ada, > though both are integer types. BTW, the Ada's OO kernel has this same design flaw. You can clone all types, but tagged: type Count is new Current; -- This is OK only if Current is not tagged! -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de