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,2078ce7aac45af5b X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.251.136 with SMTP id zk8mr930879pbc.1.1353046531094; Thu, 15 Nov 2012 22:15:31 -0800 (PST) MIME-Version: 1.0 Path: s9ni19060pbb.0!nntp.google.com!news.glorb.com!newsfeed.x-privat.org!news.jacob-sparre.dk!munin.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Ada202X : Adding functors Date: Fri, 16 Nov 2012 00:15:27 -0600 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <0114d327-9f9f-4ad2-9281-56331d11a90c@googlegroups.com> <50a4e088$0$9518$9b4e6d93@newsspool1.arcor-online.net> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1353046530 9434 69.95.181.76 (16 Nov 2012 06:15:30 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Fri, 16 Nov 2012 06:15:30 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-RFC2646: Format=Flowed; Response Date: 2012-11-16T00:15:27-06:00 List-Id: "Georg Bauhaus" wrote in message news:50a4e088$0$9518$9b4e6d93@newsspool1.arcor-online.net... ... > If lambda-expressions should help with not naming small > expressions that don't deserve a name (that'll be fun!), > and if lambda-expressions need not be passed upwards, > then maybe more along the lines of if-expressions, and > expression functions, We talked about that during Ada 2012 as an alternative to the (heavier) iterator and reference "syntax sugar". But it doesn't really solve the problem (separating code from it's "natural" location and having user-defined and language-defined containers "look" different than the built-in containers). I'm somewhat dubious that lambdas would really be the solution to anything (other than making entries in the obfuscated Ada contest easier :-). But I'm willing to be convinced... Randy.