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: 103376,9e7db243dfa070d7 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news.buerger.net!LF.net!news.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Do people who use Ada also use ocaml or F#? Date: Sat, 30 Oct 2010 15:59:19 +0200 Message-ID: <8739rn3hoo.fsf@mid.deneb.enyo.de> References: <87ocab3mir.fsf@mid.deneb.enyo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: idssi.enyo.de 1288447159 12410 172.17.135.6 (30 Oct 2010 13:59:19 GMT) X-Complaints-To: news@enyo.de Cancel-Lock: sha1:87T12PLe7k17sNCzoBy0kmq8M8s= Xref: g2news2.google.com comp.lang.ada:15944 Date: 2010-10-30T15:59:19+02:00 List-Id: * Yannick Duch�ne (Hibou57): > Le Sat, 30 Oct 2010 14:14:52 +0200, Florian Weimer > a �crit: > >> * Yannick Duch�ne (Hibou57): >> >>> Ada 2012 introduced something looking like coroutines with the yield >>> function (formally, generators), which is a famous feature of >>> functional paradigm languages (gonna be great for kinds of streams of >>> any kind of data or iterators). >> >> Is this AI05-166? I don't see how this leads to generators. > I will not believe I am the only one who expect to use it for that > purpose. This would be incredible. Are you really talking about AI05-166 here? I can't see how it is relevant to generators. What can you do with it which can't be done with an accept statement with an out parameter?