simple question

Benjamin Franksen benjamin.franksen at
Sat Apr 2 15:56:20 EST 2005

On Saturday 02 April 2005 22:29, Peter Hercek wrote:
> What is $ function good for?

Mostly for avoiding parentheses. $ is right associative and has lowest 
precedence, whereas normal application is left associative and binds most 

   f $ g $ h x === f ( g ( h x ) )

There are more advanced uses of $ but I'll let others elaborate on that.


More information about the Glasgow-haskell-users mailing list