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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.107.97.26 with SMTP id v26mr9456619iob.22.1506961382381; Mon, 02 Oct 2017 09:23:02 -0700 (PDT) X-Received: by 10.157.91.81 with SMTP id e17mr76646otj.29.1506961382327; Mon, 02 Oct 2017 09:23:02 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!feed.usenet.farm!feeder4.usenet.farm!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!feeds.phibee-telecom.net!border2.nntp.ams1.giganews.com!nntp.giganews.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!v62no2739959itd.0!news-out.google.com!p6ni3756itp.0!nntp.google.com!v62no2739953itd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 2 Oct 2017 09:23:02 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=85.167.212.61; posting-account=bPTmZAoAAAC_6HP9XLKB9aAAxBa6BuOR NNTP-Posting-Host: 85.167.212.61 References: <325cf1db-bd9e-4f58-a07b-f297960df269@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <457e2526-d4b6-4999-8521-64f8b6a0810f@googlegroups.com> Subject: Re: Community Input for the Maintenance and Revision of the Ada Programming Language From: reinert Injection-Date: Mon, 02 Oct 2017 16:23:02 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 1910 X-Received-Body-CRC: 2640702791 Xref: news.eternal-september.org comp.lang.ada:48277 Date: 2017-10-02T09:23:02-07:00 List-Id: On Monday, October 2, 2017 at 5:02:16 PM UTC+2, G.B. wrote: ...... > > 14. if Clock in t1 .. t2 then -- this dows *not* function > | > >>> scalar type required for range > > This does not work because Time is not a scalar type, even though > time per se, if measured in seconds, say, can make one think it is > of a scalar type. But type Time is private, in Ada, an abstract > point in time, not a number of time units. I thought "x in a..b" was (should be?) short for "a <= x and x <= b" (where x, a and b are elements in a (strict) linearly ordered set or so). Here is inspiration: https://en.wikipedia.org/wiki/Total_order reinert