What is $ function good for?
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
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
tightly:
f $ g $ h x === f ( g ( h x ) )
There are more
At 10:56 PM +0200 4/2/05, Benjamin Franksen wrote:
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
tightly:
f $ g $
| Jin Yang [EMAIL PROTECTED] writes ...
|
| I wrote a translator in Haskell and it was compiled OK using an earlier ghc
| version. Now the ghc at my department (Dept of Computing , Imperial) was
| upgrated to ghc0.26 and all my code got a compiling error:
|ld: Undefined symbol
|