Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'things.': 0.05; '21,': 0.07; 'arguments': 0.07; 'decorator': 0.07; 'python': 0.09; 'maker': 0.09; 'sep': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'stored': 0.10; 'yet.': 0.13; 'describing': 0.16; 'mapped': 0.16; 'subject:compare': 0.16; 'trivially': 0.16; 'wrote:': 0.17; 'variable': 0.20; 'python?': 0.20; 'decorators': 0.22; 'cc:2**0': 0.23; 'programming': 0.23; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'wrote': 0.26; 'execution': 0.27; 'functions.': 0.27; 'subject:list': 0.28; 'all.': 0.28; 'no,': 0.29; 'fri,': 0.30; 'function': 0.30; 'enhanced': 0.33; 'another': 0.33; 'received:google.com': 0.34; 'from:addr:googlemail.com': 0.35; 'programming.': 0.35; 'pm,': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'functional': 0.36; 'level': 0.37; 'two': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'nothing': 0.38; 'called': 0.39; 'think': 0.40; 'map': 0.61; 'different': 0.63; 'guaranteed': 0.76 Newsgroups: comp.lang.python Date: Fri, 21 Sep 2012 14:45:15 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=123.192.32.215; posting-account=5JdMBQoAAABHnS4mjpqEzxnmWtgiiVNw References: <48191878-3a0e-4733-a426-55b6981c471d@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 123.192.32.215 MIME-Version: 1.0 Subject: Re: Functional way to compare things inside a list From: 88888 Dihedral To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Python X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 43 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1348264463 news.xs4all.nl 6945 [2001:888:2000:d::a6]:60032 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29689 A Ian=E6=96=BC 2012=E5=B9=B49=E6=9C=8822=E6=97=A5=E6=98=9F=E6=9C=9F=E5=85=ADU= TC+8=E4=B8=8A=E5=8D=884=E6=99=8250=E5=88=8649=E7=A7=92=E5=AF=AB=E9=81=93=EF= =BC=9A > On Fri, Sep 21, 2012 at 1:54 PM, 88888 Dihedral >=20 > wrote: >=20 > > I don't think functional aspects are only marked as lazy >=20 > > programming. >=20 >=20 >=20 > He wrote "lazy evaluation", not "lazy programming". Two entirely >=20 > different things. >=20 >=20 >=20 > > It just means when one is experimenting something >=20 > > the efficient execution in speed is not on focus >=20 > > yet. >=20 >=20 >=20 > No, what you're describing is a "prototype". It has nothing to do >=20 > with functional programming at all. A function with varaible arguments can be stored as a variable to functions called decorators in python to return enhanced functions. A function mapps a decorator to another decorator can be called=20 a decorator map or a decorator maker in python. The closure level is guaranteed for decorators to be mapped by=20 multi-levels of decorator mappers trivially in python. What do you want else for functional prgramming in python?