Why not use juxtaposition to indicate function application

Steven D'Aprano steve+comp.lang.python at pearwood.info
Fri Mar 16 12:45:55 EDT 2012


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?



-- 
Steven



More information about the Python-list mailing list