[Haskell-cafe] Usage of . and $

Thomas Conway drtomc at gmail.com
Wed Mar 7 04:44:42 EST 2007


On 3/7/07, mm <schneegloeckchen at gmx.li> wrote:
> > f . g . h $ x
>
> Alternativly,
>
> (f . g . h) x
>
> will work, too.

It always irks me that you don't actually save any horizontal space
using $. That is,
    (e) x
has the same number of characters (incl spaces) as
    e $ x

T.
-- 
Dr Thomas Conway      You are beautiful; but learn to work,
drtomc at gmail.com         for you cannot eat your beauty.
                                              -- Congo proverb


More information about the Haskell-Cafe mailing list