Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   Re: Functional way to compare things inside a list (http://www.velocityreviews.com/forums/t952488-re-functional-way-to-compare-things-inside-a-list.html)

Chris Rebert 09-21-2012 08:28 AM

Re: Functional way to compare things inside a list
 
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/funct...ctools.partial

Cheers,
Chris of the Northern Hemisphere


All times are GMT. The time now is 10:40 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.