Sebastian Sylvan wrote:

>Personally I think that the dot is way to good of a symbol to be
>"wasted" on function composition. I mean, how often do you really use
>function composition in a way which doesn't obfuscate your code? I use
>($) way more often than (.). Some people do use it more often than I

I found it useful to use (mainly for debugging purposes)

mapM (putStrLn . show) <some list>

if I want to print its elements each on a new line.

--
Dimitry Golubovsky

Anywhere on the Web
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to