John,
Thanks very much for that bit of insight. I am not really writing
anything right now that is in more hurry than what Haskell can handle
nicely. I was feeling a bit guilty as, Shao said, I use $ over (.)
and thought that my code could get some amount of ridicule as to
style... when it gets
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
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
hi,
Now, is there a speed or cleaness of code advantage to using the
function composition method using (.) :
putStrLn . return . head $ This and that
over the application method...using ($):
putStrLn $ return $ head this and that
some thoughts on that ... they both work.. but any advantage