darcs patch: Control.Monad: add 'ignore' function

11 Jun
2009
11 Jun
'09
9:31 p.m.
Thu Jun 11 21:29:53 EDT 2009 gwern0@gmail.com * Control.Monad: add 'ignore' function Turns m a -> m (). Lets one call functions for their side-effects without having to get rid of their return values with '>> return ()'. Very useful in many contexts (parsing, IO etc.).
5822
Age (days ago)
5822
Last active (days ago)
0 comments
1 participants
participants (1)
-
gwern0@gmail.com