I'll add that a nice little benefit of using:
a . b . c . d $ e
over: a $ b $ c $ d $ e
is that any sub-expression taken from the first expression is valid and can be refactored out into its own name. (.) is associative and ($) is not.
Instead of:
Just write: The case for $ is where you want application instead of composition: I even write things like: instead of for consistency.Anyway, it's a little style thing, but it's nice to use the composition operator (.) when you want composition and the application operator ($) when you want application. It makes the code look nicer and it shows its intent more clearly. And really, they are different concepts, even if they both type-check the same.
And finally, remember that function application, by default, is the highest-precedence operator in Haskell. When you write:
It's the same as: Because of operator precedence. $ only exists to change the order of operations for a particular expression.