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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,29d8139471e3f53e X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!h7g2000yqn.googlegroups.com!not-for-mail From: Shark8 Newsgroups: comp.lang.ada Subject: Re: Preventing type extensions Date: Mon, 11 Oct 2010 22:23:47 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <87iq2bfenl.fsf@mid.deneb.enyo.de> <81799aab-a2e8-4390-8f42-abceaa5fc032@m1g2000vbh.googlegroups.com> <5c0d7798-ba09-4bd0-a28f-f1b028cce927@y3g2000vbm.googlegroups.com> <9df21c09-f611-4088-811c-c092452adffc@e20g2000vbn.googlegroups.com> <37ae2382-9f7d-4790-be5f-e380b9220d75@s19g2000vbr.googlegroups.com> <170a6a4f-d441-4f86-8fbf-8f15da34a094@26g2000yqv.googlegroups.com> <15tfsmrui4zdx.1juxzginm2o0j$.dlg@40tude.net> NNTP-Posting-Host: 174.28.255.149 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1286861027 17175 127.0.0.1 (12 Oct 2010 05:23:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 12 Oct 2010 05:23:47 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h7g2000yqn.googlegroups.com; posting-host=174.28.255.149; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729; .NET CLR 4.0.20506),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:14486 Date: 2010-10-11T22:23:47-07:00 List-Id: On Oct 8, 2:12=A0pm, "Dmitry A. Kazakov" wrote: > > 1. method =3D polymorphic on the class (=3Dprimitive in Ada) > 2. class-wide =3D non-polymorphic on the class (=3Dclass-wide in Ada) > 3. free =3D non-polymorphic on the type (=3Dother in Ada) > This is a good list and lays out the possible type/operation-on-that- type relationship quite nicely.