On Monday, September 23, 2013 11:54:53 PM UTC+5:30, Vito De Tullio wrote:
> rusi wrote:
> 
> > [Not everything said there is correct; eg python supports currying better
> > [than haskell which is surprising considering that Haskell's surname is
> > [Curry!]
> 
> 
> AFAIK python does not support currying at all (if not via some decorators or 
> something like that).
> 
> 
> Instead every function in haskell implicitly support currying... so... how 
> does "no support" is better than "full support"?

Without resorting to lambdas/new-functions:
 With functools.partial one can freeze any subset of a function(callable's) 
 parameters.
 
 In Haskell one can only freeze the first parameter or at most with a right 
section the second
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to