Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python.': 0.04; 'braces': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'language,': 0.14; '16,': 0.15; 'subject:application': 0.15; 'lambda': 0.16; 'subject:function': 0.16; "wouldn't": 0.17; 'wrote:': 0.18; 'subject:not': 0.19; "doesn't": 0.22; 'header:In-Reply-To:1': 0.22; 'fine': 0.24; 'subject:use': 0.24; 'pm,': 0.29; 'implicitly': 0.30; 'syntax,': 0.30; 'chris': 0.30; 'header:User- Agent:1': 0.33; 'fri,': 0.34; 'header:X-Complaints-To:1': 0.34; 'to:addr:python-list': 0.35; 'received:org': 0.36; '8bit%:86': 0.37; 'but': 0.37; 'some': 0.38; 'to:addr:python.org': 0.40; 'skip:\xd0 20': 0.77; "'while'": 0.84; 'received:88.154': 0.84; 'subject:skip:j 10': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Serhiy Storchaka Subject: Re: Why not use juxtaposition to indicate function application Date: Sat, 17 Mar 2012 00:14:19 +0200 References: <42cac695-761e-4cdb-aa3b-7c82789b76f9@h20g2000yqd.googlegroups.com> <4f636391$0$1382$4fafbaef@reader1.news.tin.it> <4f636acb$0$1381$4fafbaef@reader1.news.tin.it> <4f636e43$0$29981$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: 88.154.62.242 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1331936080 news.xs4all.nl 6862 [2001:888:2000:d::a6]:54089 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:21783 16.03.12 23:02, Chris Rebert написав(ла): > On Fri, Mar 16, 2012 at 1:57 PM, Serhiy Storchaka wrote: >> lambda:f > > Doesn't help; wouldn't the lambda be implicitly called? No, the lambda is only for declaration. I prefer to use braces for lambda syntax, it will be fine with 'if' and 'while' functions. But all this for some other, fictitious, language, not for Python.