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 X-Google-Thread: 103376,81bb2ce65a3240c3 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.191.225 with SMTP id hb1mr5056949pbc.5.1337154040875; Wed, 16 May 2012 00:40:40 -0700 (PDT) Path: pr3ni4419pbb.0!nntp.google.com!news1.google.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: What would you like in Ada202X? Date: Wed, 16 May 2012 09:39:50 +0200 Organization: cbb software GmbH Message-ID: <12os7h7vjsl6f$.5rg81lz5prsf.dlg@40tude.net> References: <3637793.35.1335340026327.JavaMail.geo-discussion-forums@ynfi5> <20780405.1069.1336372385458.JavaMail.geo-discussion-forums@pbkc8> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-05-16T09:39:50+02:00 List-Id: On Wed, 16 May 2012 00:35:30 +0300, Niklas Holsti wrote: > I think that there are two quite different "use cases", from the user's > point of view, which correspond to "widening" and "deepening" > respectively. And I think that the "deepening" case is more worthy of > language support than the "widening" case. There is narrowing too, presently handled though subtypes. You have type: 1. specialization (e.g. narrowing) 2. generalization (e.g. widening) 3. alternation (e.g. deepening) Then you have two general models to bring types under one roof to have objects of the class [*]: 1. subtypes + T'Base 2. separate types + T'Class The rest is just details. -------- * generic model lacks this property -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de