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

12 Jun
2009
12 Jun
'09
1:31 a.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.).
5869
Age (days ago)
5869
Last active (days ago)
0 comments
1 participants
participants (1)
-
gwern0@gmail.com