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-Thread: 103376,fa22a73e140a6fd1 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.190.2 with SMTP id gm2mr8540860pbc.4.1326027166548; Sun, 08 Jan 2012 04:52:46 -0800 (PST) Path: lh20ni156224pbb.0!nntp.google.com!news1.google.com!news.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Object-Oriented style question Date: Sun, 08 Jan 2012 12:52:46 +0000 Organization: A noiseless patient Spider Message-ID: References: <4f098fcb$0$6577$9b4e6d93@newsspool3.arcor-online.net> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="4756"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX193f9W1Xl6qsfxOBCZnZlEcADcAjUIsz1Q=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin) Cancel-Lock: sha1:JtO5rRHQEj6zHI4wzzUgAwdyC4A= sha1:PMR/LcJi88gwRycLF4Ng7sn+KV4= Content-Type: text/plain; charset=us-ascii Date: 2012-01-08T12:52:46+00:00 List-Id: I don't see why anyone would use anything other than your Info: function Info (Item : in T) return Value; You may need to pass values of T'Class (or access T'Class) around, but this shouldn't affect the primitive. And it seems to me it makes it much simpler from a teaching point of view (but IANAT!)