
21 Aug
2006
21 Aug
'06
4:32 a.m.
yumagene:
On 8/19/06, Henk-Jan van Tuyl
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 ....
Perhaps: putStrLn . return . head $ "This and that" -- Don