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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4c86cf2332cbe682 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-01-25 04:22:00 PST Path: pad-thai.cam.ov.com!bloom-beacon.mit.edu!panix!news.mathworks.com!news2.near.net!howland.reston.ans.net!gatech!swrinde!pipex!news.oleane.net!oleane!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!epflnews!dinews.epfl.ch!lglsun!nebbe From: nebbe@lglsun.epfl.ch (Robb Nebbe) Newsgroups: comp.lang.ada Subject: Re: Ada.strings.bounded problems? Date: 25 Jan 1995 10:25:52 GMT Organization: Ecole Polytechnique Federale de Lausanne Sender: nebbe@lglsun3.epfl.ch (Robb Nebbe) Distribution: world Message-ID: <1995Jan25.105103@lglsun.epfl.ch> References: <1995Jan19.124412@lglsun.epfl.ch> <3fmnc1$rns@watnews1.watson.ibm.com> NNTP-Posting-Host: lglsun3.epfl.ch Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: 1995-01-25T10:25:52+00:00 List-Id: In article , bobduff@world.std.com (Robert A Duff) writes: A good coherent explanation of the problems associated allowing the redefinition of operations on scalar types and not allowing them to reemerge deleted. |> |> We sidestepped all those issues by drawing the line in a different place |> -- "=" composes properly for tagged types, and not for untagged types. |> Arrays of tagged types don't automatically have "<", and you can't do |> case statements on them, and so on. In fact, "=" and "/=" are the |> *only* predefined operators for tagged types, so it's not so |> unreasonable to treat them specially. |> |> - Bob I don't see any particularly compelling reasons to prefere having drawn the line between tagged and untagged types rather than record and non-record types. Tucker touched on this subject in a post in this same thread but he sort of glossed over it by saying that making the distinction between tagged and untagged types is more "natural".