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

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to