list-t 1.0.2 → 1.0.3
raw patch · 2 files changed
+6/−2 lines, 2 filesdep ~base
Dependency ranges changed: base
Files
- library/ListT.hs +5/−1
- list-t.cabal +1/−1
library/ListT.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE UndecidableInstances #-}+{-# LANGUAGE UndecidableInstances, CPP #-} module ListT ( ListT(..),@@ -89,6 +89,10 @@ return Nothing Just (h1, t1) -> uncons $ k2 h1 <> (t1 >>= k2)+#if !MIN_VERSION_base(4,11,0)+ fail _ =+ mempty+#endif instance Monad m => MonadFail (ListT m) where fail _ =
list-t.cabal view
@@ -1,7 +1,7 @@ name: list-t version:- 1.0.2+ 1.0.3 synopsis: ListT done right description: