Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #29689

Re: Functional way to compare things inside a list

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 <dihedral88888@googlemail.com>
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 <mailman.1040.1348260628.27098.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=123.192.32.215; posting-account=5JdMBQoAAABHnS4mjpqEzxnmWtgiiVNw
References <mailman.990.1348213606.27098.python-list@python.org> <ffmti9-elv.ln1@satorlaser.homedns.org> <48191878-3a0e-4733-a426-55b6981c471d@googlegroups.com> <mailman.1040.1348260628.27098.python-list@python.org>
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 <dihedral88888@googlemail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
Cc Python <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.1044.1348264463.27098.python-list@python.org> (permalink)
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

Show key headers only | View raw


A

Ian於 2012年9月22日星期六UTC+8上午4時50分49秒寫道:
> On Fri, Sep 21, 2012 at 1:54 PM, 88888 Dihedral
> 
> <dihedral88888@googlemail.com> wrote:
> 
> > I don't think functional aspects are only marked as lazy
> 
> > programming.
> 
> 
> 
> He wrote "lazy evaluation", not "lazy programming".  Two entirely
> 
> different things.
> 
> 
> 
> > It just means when one is experimenting something
> 
> > the efficient execution in speed is not on focus
> 
> > yet.
> 
> 
> 
> No, what you're describing is a "prototype".  It has nothing to do
> 
> 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 
a decorator map or a decorator maker in python.

The closure level is guaranteed for decorators to be mapped by 
multi-levels of decorator mappers trivially in python.

What do you want else for functional prgramming in python?

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Functional way to compare things inside a list thorsopia@lavabit.com - 2012-09-20 18:58 -0400
  Re: Functional way to compare things inside a list "Ivan@work" <ivan.cvetkovic@pakel.hr> - 2012-09-21 10:24 +0200
  Re: Functional way to compare things inside a list Alexander Blinne <news@blinne.net> - 2012-09-21 10:31 +0200
  Re: Functional way to compare things inside a list Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2012-09-21 10:52 +0200
    Re: Functional way to compare things inside a list 88888 Dihedral <dihedral88888@googlemail.com> - 2012-09-21 12:54 -0700
      Re: Functional way to compare things inside a list Ian Kelly <ian.g.kelly@gmail.com> - 2012-09-21 14:49 -0600
        Re: Functional way to compare things inside a list 88888 Dihedral <dihedral88888@googlemail.com> - 2012-09-21 14:45 -0700
        Re: Functional way to compare things inside a list 88888 Dihedral <dihedral88888@googlemail.com> - 2012-09-21 14:45 -0700
        Re: Functional way to compare things inside a list Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-22 01:25 +0000
          Re: Functional way to compare things inside a list Ian Kelly <ian.g.kelly@gmail.com> - 2012-09-22 00:22 -0600
            Re: Functional way to compare things inside a list 88888 Dihedral <dihedral88888@googlemail.com> - 2012-09-21 23:50 -0700
            Re: Functional way to compare things inside a list 88888 Dihedral <dihedral88888@googlemail.com> - 2012-09-21 23:50 -0700
          Re: Functional way to compare things inside a list Jamie Paul Griffin <jamie@kode5.net> - 2012-09-22 08:08 +0100
          Re: Functional way to compare things inside a list Andrew Berg <bahamutzero8825@gmail.com> - 2012-09-22 02:19 -0500
            Re: Functional way to compare things inside a list Ramchandra Apte <maniandram01@gmail.com> - 2012-09-22 21:09 -0700
            Re: Functional way to compare things inside a list Ramchandra Apte <maniandram01@gmail.com> - 2012-09-22 21:09 -0700

csiph-web