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,a644fa9cd1a3869a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-13 13:05:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!dispose.news.demon.net!news.demon.co.uk!demon!pogner.demon.co.uk!zap!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: List container strawman 1.2 Date: 13 Nov 2001 07:18:02 +0000 Organization: Pushface Message-ID: References: <3BECA3B7.5020702@telepath.com> <3bef920f@pull.gecm.com> <9soq34$be6$1@nh.pace.co.uk> <3beffc62@pull.gecm.com> <9sp5ai$fr2$1@nh.pace.co.uk> NNTP-Posting-Host: localhost X-NNTP-Posting-Host: pogner.demon.co.uk:158.152.70.98 X-Trace: news.demon.co.uk 1005685483 nnrp-14:20493 NO-IDENT pogner.demon.co.uk:158.152.70.98 X-Complaints-To: abuse@demon.net NNTP-Posting-Date: 13 Nov 2001 07:18:02 GMT X-Newsreader: Gnus v5.7/Emacs 20.7 Xref: archiver1.google.com comp.lang.ada:16452 Date: 2001-11-13T07:18:02+00:00 List-Id: "Marin David Condic" writes: > Defining equality is of questionable value/pain since the > element type was private - do you want to force someone to define > equality in every instance? I have a user who definitely did want this (for example, what if the key were a case-insensitive string?) with function "=" (L, R : Key) return Boolean is <>; It does mean that equality has to be visible at the point of instantiation, of course. Slightly concerned about having over-simplified components (training wheels); if the purpose is purely for teaching that's OK but look at Pascal.