simple question

2005-04-02 Thread Peter Hercek
What is $ function good for? ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: simple question

2005-04-02 Thread Benjamin Franksen
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

Re: simple question

2005-04-02 Thread Dean Herington
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 $

Re: simple question

1997-07-03 Thread Simon L Peyton Jones
| 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 |