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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,6aa1ec264ce25142 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: RUSSIAN,UTF8 Received: by 10.180.24.202 with SMTP id w10mr37001wif.0.1346980966819; Thu, 06 Sep 2012 18:22:46 -0700 (PDT) Path: q11ni5513255wiw.1!nntp.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.130.MISMATCH!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsreader4.netcologne.de!news.netcologne.de!newsfeed.straub-nv.de!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!aioe.org!.POSTED!not-for-mail From: "Vasiliy Molostov" Newsgroups: comp.lang.ada Subject: Re: Real syntax problems in Ada Date: Thu, 30 Aug 2012 21:38:20 +0400 Organization: None Message-ID: References: <1p5r39cusgc1n$.18nj9sytckk6$.dlg@40tude.net> <1xfc5a70g33xq.6o52bn9evjls$.dlg@40tude.net> <9ve6114z6hyh$.2ld32vp2se0y.dlg@40tude.net> NNTP-Posting-Host: Xw13RWgh8yxgPSv0x3+H9w.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.01 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2012-08-30T21:38:20+04:00 List-Id: Dmitry A. Kazakov =D0=BF=D0=B8=D1=81=D0=B0=D0= =BB(=D0=B0) =D0=B2 =D1=81=D0=B2=D0=BE=D1=91=D0=BC =D0=BF=D0=B8=D1=81=D1=8C= =D0=BC=D0=B5 Wed, = 29 Aug 2012 15:58:32 +0400: > On Wed, 29 Aug 2012 14:47:19 +0400, Vasiliy Molostov wrote: > >> Dmitry A. Kazakov =D0=BF=D0=B8=D1=81=D0=B0= =D0=BB(=D0=B0) =D0=B2 =D1=81=D0=B2=D0=BE=D1=91=D0=BC =D0=BF=D0=B8=D1=81=D1= =8C=D0=BC=D0=B5 = >> Wed, >> 29 Aug 2012 11:25:00 +0400: >> >>> There is an important operation on bodies: composition: >>> >>> type Float_Valued is function (X : Float) return Float; >>> X : Float_Valued :=3D begin ... end; >>> Y : Float_Valued :=3D begin ... end; >>> Z : Float_Valued :=3D Y * X; >>> >>> Another operation is inheritance. That is when one body operates T >>> another >>> S and S <: T, inheritance is the body of T composed with type = >>> conversion >>> S to T. >> >> Intriguing. Perhaps this can be distributed on other things, >> where subprogram can be simply implemented by X * Y. > Yep, this is useful and productive idea. (I have snipped remaining in yo= ur = reply to keep only your original message quoted). Perhaps Randy can give= = some words on this... -- = =D0=9D=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE =D0=B2 =D0=BF=D0=BE=D1=87= =D1=82=D0=BE=D0=B2=D0=BE=D0=BC =D0=BA=D0=BB=D0=B8=D0=B5=D0=BD=D1=82=D0=B5= =D0=B1=D1=80=D0=B0=D1=83=D0=B7=D0=B5=D1=80=D0=B0 Opera: http://www.oper= a.com/mail/