Derek Elkins <[EMAIL PROTECTED]> writes:

>> parseCSVFromFile "in.csv" >>= return . either (const "error!")

> Whenever you see this >>= return . f pattern think liftM or fmap or <$>.

...and "return . f >>= action" is just "action . f", no?

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to