monad-extras 0.5.10 → 0.5.11
raw patch · 2 files changed
+1/−11 lines, 2 files
Files
- Control/Monad/Extra.hs +0/−10
- monad-extras.cabal +1/−1
Control/Monad/Extra.hs view
@@ -287,13 +287,3 @@ y' <- assocFoldl1M f ys z' <- assocFoldl1M f zs f y' z'--findM :: (Monad m, Foldable f) => (a -> m (Maybe b)) -> f a -> m (Maybe b)-findM f = loop . toList- where- loop [] = return Nothing- loop (x:xs) = do- res <- f x- case res of- Nothing -> loop xs- Just r -> return (Just r)
monad-extras.cabal view
@@ -1,5 +1,5 @@ name: monad-extras-version: 0.5.10+version: 0.5.11 synopsis: Extra utility functions for working with monads -- description: homepage: http://github.com/jwiegley/monad-extras