I am trying to verify something for myself about operator and function precedence in Haskell. For instance, the following code
list = map foo $ xs >
list = map foo $ xs
The difference is that infix operators get placed between their arguments, so this
can be rewritten in prefix form as
list = ($) (map foo) xs
which, by the definition of the $ operator, is simply
list = (map foo) xs