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


Groups > comp.lang.python > #21780

Re: Why not use juxtaposition to indicate function application

Path csiph.com!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!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <chris@rebertia.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; 'function,': 0.07; 'argument,': 0.09; 'arguments,': 0.09; 'sake': 0.09; '16,': 0.15; 'subject:application': 0.15; 'argument)': 0.16; 'lambda': 0.16; 'subject:function': 0.16; 'cc:addr:python-list': 0.16; "wouldn't": 0.17; 'wrote:': 0.18; 'arguments': 0.18; 'subject:not': 0.19; '(which': 0.19; 'cheers,': 0.20; 'cc:no real name:2**0': 0.21; "doesn't": 0.22; 'header:In-Reply-To:1': 0.22; 'subject:use': 0.24; 'received:209.85.220': 0.25; 'cc:2**0': 0.26; 'function': 0.27; 'raise': 0.28; 'message-id:@mail.gmail.com': 0.29; 'cc:addr:python.org': 0.29; 'pm,': 0.29; 'implicitly': 0.30; 'chris': 0.30; 'it?': 0.33; 'fri,': 0.34; 'normally': 0.34; 'steven': 0.34; 'calling': 0.34; 'apply': 0.35; '(for': 0.35; '8bit%:86': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'received:209': 0.39; 'skip:\xd0 20': 0.77; 'sender:addr:chris': 0.84; 'subject:skip:j 10': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=rebertia.com; s=google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=5X6ZUya7m7Rb5UKNM+8ExgpOgVcNh6oins/ZAfw7NQM=; b=ejJ3P0pi1ejz6yJyW59uoxc0g2zDA0J+BTeVgQWWMVppC2uH/6fypzURNVmN5fTVL8 DQmd1A5aOtf7T+0UyGi1WMZbeox/Ai5MI9jNdXhbhM1evIwjs5C0ky38fVsL9Xi1IAq1 3IK5wXHClEGvNoAth540duJJv1D/mtq6n77H8=
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=5X6ZUya7m7Rb5UKNM+8ExgpOgVcNh6oins/ZAfw7NQM=; b=OAWwbASTnbccPpnckeVPdOLqQL58RGKxHxCBG0gY2QBUUTdKuudnZh/lW6bHPtc/Zv svCbsmzCm2G/rFQmTwGnL3IiV6+ymTjw64D5AsFmNgC7ScKbATSCjd9wp19VgGnVqosZ BDN9m+lyBk57vc6gTRN9rhxH2zOmm5Su3cpf4PIk81CDi+r7FumM+SeIoSv3n55uUID1 ejIv9Le4tZfBPHuMar1S0GyM8h6usOOpGZsIXpUFr43zQrG9yM0vAANnYYC5cbbMyusX JRRyFlqQPvbRxcyth2RkIG0iP3WCFTAXNM3R6faGvbet7tOwjBDQjG9PfLOBqhRPFFt2 3qfw==
MIME-Version 1.0
Sender chris@rebertia.com
In-Reply-To <jk09f1$5ju$1@dough.gmane.org>
References <mailman.722.1331901933.3037.python-list@python.org> <42cac695-761e-4cdb-aa3b-7c82789b76f9@h20g2000yqd.googlegroups.com> <4f636391$0$1382$4fafbaef@reader1.news.tin.it> <mailman.724.1331914436.3037.python-list@python.org> <4f636acb$0$1381$4fafbaef@reader1.news.tin.it> <4f636e43$0$29981$c3e8da3$5496439d@news.astraweb.com> <jk09f1$5ju$1@dough.gmane.org>
Date Fri, 16 Mar 2012 14:02:51 -0700
X-Google-Sender-Auth W_s0tU0JknyNTHbyfTldnXGIhCI
Subject Re: Why not use juxtaposition to indicate function application
From Chris Rebert <clp2@rebertia.com>
To Serhiy Storchaka <storchaka@gmail.com>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-Gm-Message-State ALoCoQmWNTN6Cm3opbLf5Il1IzzO6ATqbIndu48Ec3hcPnNagB/vU9ZRfr2ydYoKizT4pBPD3s3e
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.738.1331931775.3037.python-list@python.org> (permalink)
Lines 17
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1331931775 news.xs4all.nl 6938 [2001:888:2000:d::a6]:40166
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:21780

Show key headers only | View raw


On Fri, Mar 16, 2012 at 1:57 PM, Serhiy Storchaka <storchaka@gmail.com> wrote:
> 16.03.12 18:45, Steven D'Aprano написав(ла):
>> If f is a function which normally takes (for the sake of the argument)
>> one argument, then f would call the function with no arguments (which may
>> return a curried function, or may apply default arguments, or perhaps
>> raise an exception). So how would you refer to the function itself
>> without calling it?
>
> lambda:f

Doesn't help; wouldn't the lambda be implicitly called?

Cheers,
Chris

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


Thread

Why not use juxtaposition to indicate function application Ray Song <emacsray@gmail.com> - 2012-03-16 20:45 +0800
  Re: Why not use juxtaposition to indicate function application "bruno.desthuilliers@gmail.com" <bruno.desthuilliers@gmail.com> - 2012-03-16 06:14 -0700
    Re: Why not use juxtaposition to indicate function application Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-16 17:00 +0100
      RE: Why not use juxtaposition to indicate function application "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-03-16 16:13 +0000
        Re: Why not use juxtaposition to indicate function application Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-16 17:31 +0100
          Re: Why not use juxtaposition to indicate function application Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-03-16 16:45 +0000
            Re: Why not use juxtaposition to indicate function application Kiuhnm <kiuhnm03.4t.yahoo.it> - 2012-03-16 18:18 +0100
            Re: Why not use juxtaposition to indicate function application Ian Kelly <ian.g.kelly@gmail.com> - 2012-03-16 11:59 -0600
            Re: Why not use juxtaposition to indicate function application Serhiy Storchaka <storchaka@gmail.com> - 2012-03-16 22:57 +0200
            Re: Why not use juxtaposition to indicate function application Chris Rebert <clp2@rebertia.com> - 2012-03-16 14:02 -0700
            Re: Why not use juxtaposition to indicate function application Serhiy Storchaka <storchaka@gmail.com> - 2012-03-17 00:14 +0200
          Re: Why not use juxtaposition to indicate function application Tony the Tiger <tony@tiger.invalid> - 2012-03-16 16:55 -0500
    Re: Why not use juxtaposition to indicate function application Terry Reedy <tjreedy@udel.edu> - 2012-03-17 00:38 -0400
  Re: Why not use juxtaposition to indicate function application "Colin J. Williams" <cjw@ncf.ca> - 2012-03-16 11:06 -0400
  Haskellizing python (was Why not use juxtaposition to indicate function application) rusi <rustompmody@gmail.com> - 2012-03-16 22:26 -0700
  Re: Why not use juxtaposition to indicate function application Larry Hudson <orgnut@yahoo.com> - 2012-03-16 23:39 -0700

csiph-web