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


Groups > comp.lang.python > #29607 > unrolled thread

Re: Functional way to compare things inside a list

Started byChris Rebert <clp2@rebertia.com>
First post2012-09-21 01:28 -0700
Last post2012-09-21 01:28 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Functional way to compare things inside a list Chris Rebert <clp2@rebertia.com> - 2012-09-21 01:28 -0700

#29607 — Re: Functional way to compare things inside a list

FromChris Rebert <clp2@rebertia.com>
Date2012-09-21 01:28 -0700
SubjectRe: Functional way to compare things inside a list
Message-ID<mailman.993.1348216124.27098.python-list@python.org>
On Fri, Sep 21, 2012 at 1:23 AM, Chris Angelico <rosuav@gmail.com> wrote:
> On Fri, Sep 21, 2012 at 8:58 AM,  <thorsopia@lavabit.com> wrote:
<snip>
> That gets the result, but probably not in the cleanest way. I'm not
> sure off-hand if Python has a convenient way to curry a function,

http://docs.python.org/library/functools.html#functools.partial

Cheers,
Chris of the Northern Hemisphere

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web