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: a07f3367d7,39579ad87542da0e X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.66.122.200 with SMTP id lu8mr5102407pab.4.1368616829078; Wed, 15 May 2013 04:20:29 -0700 (PDT) Path: ln4ni2140pbb.0!nntp.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!216.196.98.142.MISMATCH!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 15 May 2013 06:20:28 -0500 Newsgroups: comp.lang.ada Date: Wed, 15 May 2013 07:20:23 -0400 From: "Peter C. Chapin" X-X-Sender: peter@whirlwind Subject: Re: Seeking for papers about tagged types vs access to subprograms In-Reply-To: Message-ID: References: <19lrzzbgm77v6.1dzpgqckptaj6.dlg@40tude.net> <1bfhq7jo34xpi.p8n2vq6yjsea.dlg@40tude.net> <12gn9wvv1gwfk.10ikfju4rzmnj.dlg@40tude.net> <1oy5rmprgawqs.1jz36okze0xju$.dlg@40tude.net> <1q2ql1e4rcgko.diszzq1mhaq8$.dlg@40tude.net> <518dedd4$0$6581$9b4e6d93@newsspool3.arcor-online.net> <1um7tijeo609b$.1gtdijp0acfmn$.dlg@40tude.net> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-UBaACvI4ZPWKoEkcMML+cJdDS6x2RN8ZxT5S0K0+V0YQjRaUYCxEWj+FWL2uWP/w4CEFn0UZkAP0E2C!9GR6NJ0TnEn2VYJ9/0p3fdF6A7ALazv9ipRIxIhl4D4Lcd0IsVi8WCtcKHz0KOQ1fF5ho3ESwg== X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2853 X-Received-Bytes: 3061 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Date: 2013-05-15T07:20:23-04:00 List-Id: On Tue, 14 May 2013, Dmitry A. Kazakov wrote: > procedure Foo; This procedure does nothing unless it has side effects. If so, then those side effects entail operations on values of a particular type. > Value is not a programming language term, it belongs to the application > domain. Value is the meaning attributed to the state of a typed object in > some context. > > E.g. > > Salary : Buckazoid := 1; > > Salary is meant to have the value of 1 Buckazoid. A type is a pair of sets: a set of values and a set of operations defined over those values (for example as functions taking items from the first set as a parameter). Either set can be empty. In any case "value" is most certainly a programming language term. You can't talk about a type without talking about the values that inhabit that type (again, could be an empty set in certain special cases). Peter