[Haskell-beginners] f . g or f g or f $ g?

Martin Drautzburg Martin.Drautzburg at web.de
Tue Feb 12 22:09:21 CET 2013


On Friday, 1. February 2013 23:02:39 Ertugrul Söylemez wrote:

>     (f . g) x = f (g x)


so (f . g) x = f $ g x

right?

That looks like the two are pretty interchangeable. When would I prefer one 
over the other?


-- 
Martin



More information about the Beginners mailing list