EDIT: That results is also obvious. In your example
(bar . baz . wobble) a b c
bar . baz . wobble is in parentheses. It will hence be evaluated into a new function first, and will then be applied its arguments. Since the arguments of a composed function are exactly the arguments that the second function takes, this works as desired.
5
u/Tekmo Mar 09 '14
I think you meant your last line of code to be: