darcs patch: Improve Control.Monad.filterM:

Spencer Janssen sjanssen at cse.unl.edu
Fri Aug 4 15:13:09 EDT 2006


Fri Aug  4 13:49:57 CDT 2006  Spencer Janssen <sjanssen at cse.unl.edu>
  * Improve Control.Monad.filterM:
   * filterM is defined in terms of foldr, making it a good consumer in GHC's 
     fusion framework
   * filterM uses linear stack space with respect to the number of items that 
     the predicate returns true, rather than the total number of elements in 
     the input.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 25296 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org//pipermail/libraries/attachments/20060804/739e7154/attachment-0001.bin


More information about the Libraries mailing list