Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21756
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.007 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'postpone': 0.07; 'python': 0.08; 'readable': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'underlying': 0.09; 'argument': 0.15; 'subject:application': 0.15; 'enigma': 0.16; 'kern': 0.16; 'subject:function': 0.16; 'language': 0.16; 'wrote:': 0.18; 'subject:not': 0.19; "aren't": 0.21; 'header:In-Reply-To:1': 0.22; 'feature.': 0.23; 'subject:use': 0.24; 'messages.': 0.25; 'function': 0.27; 'language.': 0.28; 'interpret': 0.29; 'pm,': 0.29; 'error': 0.30; 'functional': 0.31; "i've": 0.32; 'rest': 0.32; "isn't": 0.33; 'header:User-Agent:1': 0.33; 'header:X -Complaints-To:1': 0.34; 'to:addr:python-list': 0.35; 'received:org': 0.36; 'partial': 0.37; 'using': 0.37; 'another': 0.37; 'enough': 0.38; 'application': 0.40; 'to:addr:python.org': 0.40; 'more': 0.61; 'world': 0.61; 'received:86': 0.63; 'our': 0.63; 'believe': 0.65; 'song': 0.73; '12:45': 0.84; 'subject:skip:j 10': 0.84; 'eco': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Robert Kern <robert.kern@gmail.com> |
| Subject | Re: Why not use juxtaposition to indicate function application |
| Date | Fri, 16 Mar 2012 16:18:57 +0000 |
| References | <20120316124515.GA2529@lap.tuna.tsinghua.edu.cn> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | host86-147-15-181.range86-147.btcentralplus.com |
| User-Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 |
| In-Reply-To | <20120316124515.GA2529@lap.tuna.tsinghua.edu.cn> |
| 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.725.1331914750.3037.python-list@python.org> (permalink) |
| Lines | 21 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1331914750 news.xs4all.nl 6936 [2001:888:2000:d::a6]:58666 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:21756 |
Show key headers only | View raw
On 3/16/12 12:45 PM, Ray Song wrote: > I confess i've indulged in Haskell and found > f a > more readable than > f(a) > > And why aren't functions curried (partially applied function is another function which takes the rest arguments) by default? Python isn't a strongly functional language. We just don't do partial function application all that frequently to make it a language feature. Leaving out an argument is a common enough mistake, though, and using curry-by-default would postpone the error and make for even more inscrutable error messages. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Why not use juxtaposition to indicate function application Robert Kern <robert.kern@gmail.com> - 2012-03-16 16:18 +0000
csiph-web