[Haskell-cafe] Records (was Re: [Haskell] Improvements to GHC)

Dimitry Golubovsky golubovsky at gmail.com
Thu Nov 17 13:08:43 EST 2005

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

More information about the Haskell-Cafe mailing list