
21 Aug
2006
21 Aug
'06
7:31 p.m.
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 or disadvantage to one over the other.. I find a lot of these kind of things in Haskell, and it is purely wonderful.. but always go away wondering if I am really using the most efficient, or most acceptable method.. gene