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


Groups > comp.lang.python > #19857

Re: Common LISP-style closures with Python

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <arnodel@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'help?': 0.03; 'subject:Python': 0.05; 'python': 0.08; 'received:209.85.214.174': 0.13; 'cc:addr:python-list': 0.15; 'antti': 0.16; 'closures': 0.16; 'closures,': 0.16; 'curiosity,': 0.16; 'haskell,': 0.16; 'wrote:': 0.16; 'example.': 0.18; 'programming': 0.20; 'cheers,': 0.20; 'cc:no real name:2**0': 0.21; 'header:In-Reply-To:1': 0.22; 'feature.': 0.23; 'suspect': 0.24; 'cc:2**0': 0.25; 'asking': 0.27; 'message-id:@mail.gmail.com': 0.28; 'languages.': 0.28; 'cc:addr:python.org': 0.29; 'chris': 0.30; 'functional': 0.30; 'received:209.85.214': 0.32; 'languages': 0.32; 'there': 0.33; 'someone': 0.34; 'typical': 0.34; 'something': 0.35; 'skip:" 10': 0.36; 'but': 0.37; 'received:google.com': 0.37; 'could': 0.37; 'received:209.85': 0.38; 'subject:with': 0.38; 'think': 0.38; 'received:209': 0.39; 'subject:: ': 0.39; 'more': 0.61; 'expert': 0.65; 'share': 0.66
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=E/smDIYFpoDEgBZL07DHbKNtFCfIKnNN0XnVmfWNySk=; b=rDvdoAnHpcGASg0YMEOUGPNdLUD9/AO0YFj+Dt66b0kptxb6/fS3cD+geBg+xOtjAR vRn7YXK9Q7g98l5G1rilT9L7kGUnwMBay4ciPLEBDiVKt6skBH1RRS+A658eIxwvL4HA jp6A2l8X6HgkuMED4b9rfIcBeVQvMDVyz2bB8=
MIME-Version 1.0
In-Reply-To <Ay7Xq.11885$I33.9540@uutiset.elisa.fi>
References <dY_Wq.11747$I33.10275@uutiset.elisa.fi> <mailman.5426.1328323649.27778.python-list@python.org> <Ay7Xq.11885$I33.9540@uutiset.elisa.fi>
Date Sat, 4 Feb 2012 10:58:49 +0000
Subject Re: Common LISP-style closures with Python
From Arnaud Delobelle <arnodel@gmail.com>
To Antti J Ylikoski <antti.ylikoski@tkk.fi>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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>
Newsgroups comp.lang.python
Message-ID <mailman.5428.1328353132.27778.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1328353132 news.xs4all.nl 6859 [2001:888:2000:d::a6]:37790
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:19857

Show key headers only | View raw


On 4 February 2012 10:14, Antti J Ylikoski <antti.ylikoski@tkk.fi> wrote:
> On 4.2.2012 4:47, Chris Rebert wrote:
>> Out of curiosity, what would be non-Common-Lisp-style closures?
>>
>> Cheers,
>> Chris
>
>
> I understand that a "closure" is something which is typical of functional
> programming languages.  -- Scheme-style closures, for example.
>
> I don't know Haskell, ML etc. but I do suspect that we could create closures
> in those languages as well.  Maybe someone more expert than me can help?

I think what Chris asking is: what is the feature of Common-Lisp
closures that Python closures share but other languages don't?

I think what he is implying is that there is no such feature.  Python
closures are no more "Common-Lisp-style" than they are "Scheme-style"
or "Smalltalk-like" or any other language-like.

-- 
Arnaud

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


Thread

Common LISP-style closures with Python Antti J Ylikoski <antti.ylikoski@tkk.fi> - 2012-02-04 02:27 +0200
  Re: Common LISP-style closures with Python Chris Rebert <clp2@rebertia.com> - 2012-02-03 18:47 -0800
    Re: Common LISP-style closures with Python Antti J Ylikoski <antti.ylikoski@tkk.fi> - 2012-02-04 12:14 +0200
      Re: Common LISP-style closures with Python Antti J Ylikoski <antti.ylikoski@tkk.fi> - 2012-02-04 12:23 +0200
      Re: Common LISP-style closures with Python Arnaud Delobelle <arnodel@gmail.com> - 2012-02-04 10:58 +0000
        Re: Common LISP-style closures with Python Antti J Ylikoski <antti.ylikoski@tkk.fi> - 2012-02-04 15:09 +0200
          Re: Common LISP-style closures with Python Tomasz Rola <rtomek@ceti.pl> - 2012-02-04 18:42 +0100
      Re: Common LISP-style closures with Python Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-02-04 17:52 -0500
  Re: Common LISP-style closures with Python John O'Hagan <research@johnohagan.com> - 2012-02-05 12:31 +1100
    Re: Common LISP-style closures with Python Antti J Ylikoski <antti.ylikoski@tkk.fi> - 2012-02-05 06:19 +0200
      Re: Common LISP-style closures with Python Ian Kelly <ian.g.kelly@gmail.com> - 2012-02-05 13:58 -0700
        Re: Common LISP-style closures with Python Antti J Ylikoski <antti.ylikoski@tkk.fi> - 2012-02-06 07:55 +0200
  Re: Common LISP-style closures with Python Rick Johnson <rantingrickjohnson@gmail.com> - 2012-02-05 15:29 -0800
  Re: Common LISP-style closures with Python John Nagle <nagle@animats.com> - 2012-02-09 22:26 -0800
  Re: Common LISP-style closures with Python 88888 Dihedral <dihedral88888@googlemail.com> - 2012-02-09 23:55 -0800

csiph-web