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 Path: border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Seeking for papers about tagged types vs access to subprograms Date: Tue, 7 May 2013 09:41:15 +0200 Organization: cbb software GmbH Message-ID: <1luaso698dpcc$.rrv8385qwl92.dlg@40tude.net> References: Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 X-Original-Bytes: 1563 Xref: number.nntp.dca.giganews.com comp.lang.ada:181479 Date: 2013-05-07T09:41:15+02:00 List-Id: On Mon, 6 May 2013 20:09:46 -0500, Randy Brukardt wrote: >The idea of indexing a numeric type is silly, Not at all, consider Unit type declared modular because it has to be used as a discriminant. At the same time Unit is a composite of powers for mass, time, current, temperature etc. One would like to have it indexed (viewed as an array or as a record). Another problem is that you cannot make everything Controlled without MD. Because otherwise you will permanently run into problems with primitive operations of multiple types, multi-methods etc. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de