On Fri, Mar 16, 2012 at 10:45 AM, Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote: > On Fri, 16 Mar 2012 17:31:06 +0100, Kiuhnm wrote: > >> You wouldn't, because Haskel's way is more regular and makes a lot of >> sense: parentheses are for grouping and that's it. > > If f is a function which normally takes (for the sake of the argument) > one argument, then f would call the function with no arguments (which may > return a curried function, or may apply default arguments, or perhaps > raise an exception). So how would you refer to the function itself > without calling it?
A partial application of f with no arguments is still just f. -- http://mail.python.org/mailman/listinfo/python-list