yumagene: > On 8/19/06, Henk-Jan van Tuyl <[EMAIL PROTECTED]> 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 _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe