[Haskell-cafe] Re: Useful: putCharLn {inspire by the Int->[Char] thread

Gene A yumagene at gmail.com
Mon Aug 21 04:28:10 EDT 2006

On 8/19/06, Henk-Jan van Tuyl <hjgtuyl at chello.nl> wrote:

> Or you could use:
>    putStrLn [head "This and that"]

Gotta say I really like this ... running the head function inside of the list...
Okay so I can really learn something here... what would that look like
in "raw" monadic notation?
 using bind and such notation... >>=  etc..
hey, mention was made of lists being monads.. so ....


More information about the Haskell-Cafe mailing list