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

gwern0 at gmail.com gwern0 at gmail.com
Thu Jun 11 21:31:22 EDT 2009


Thu Jun 11 21:29:53 EDT 2009  gwern0 at 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.).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 38820 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/libraries/attachments/20090611/d4e58090/attachment-0001.bin


More information about the Libraries mailing list