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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: State of the compiler market Date: Sat, 1 Jul 2017 11:17:33 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <1813789782.509760763.093426.laguest-archeia.com@nntp.aioe.org> <87varxjouh.fsf@nightsong.com> <250466748.510009784.561340.laguest-archeia.com@nntp.aioe.org> <87fuelzvcq.fsf@jacob-sparre.dk> <4e60ac97-7f4f-47e7-847a-e27983accd4b@googlegroups.com> <57c26106-4e4f-464f-83e9-fe52de614cd7@googlegroups.com> <6529c392-f042-4dfe-8cdb-b785406ad788@googlegroups.com> <3cce46c5-5112-44fb-9f94-3c18a7c4de4e@googlegroups.com> <82e679ea-e114-490f-94e8-f3fd9078f3d3@googlegroups.com> NNTP-Posting-Host: MajGvm9MbNtGBKE7r8NgYA.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Language: en-US Xref: news.eternal-september.org comp.lang.ada:47249 Date: 2017-07-01T11:17:33+02:00 List-Id: On 2017-07-01 10:06, darkestkhan wrote: > On Friday, June 30, 2017 at 2:19:41 PM UTC, Lucretia wrote: >> On Friday, 30 June 2017 14:57:48 UTC+1, Alejandro R. Mosteo wrote: >>> On 29/06/17 13:36, Lucretia wrote: >>> >>>> Remove access types in functions, allow in out in them. >>> >>> This is in Ada 2012. >> >> Yes, I know. But that was added after the access type parameters, >> which was a hack around no in out. > > How are you going to pass a subprogram to a subprogram if you remove > access type parameters? As it should have been: function Integrate ( X : Points; F : function (X : Float) return Float ) return Float; ... Result := Integrate (Data, Sine); Access types are not required for downward closures. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de