packages feed

general-prelude 0.1 → 0.1.1

raw patch · 2 files changed

+9/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Prelude.General: error :: [Char] -> a

Files

Prelude/General.hs view
@@ -28,7 +28,7 @@    , (+), (-), (*), (/), mod   , seq, ($!)-  , undefined+  , undefined, error   , fromIntegral    , if'@@ -97,7 +97,7 @@ import qualified Prelude import           Prelude ( (+), (-), (*), (/), mod                          , seq, ($!)-                         , undefined, fromIntegral )+                         , undefined, error, fromIntegral )  -- | An either/maybe equivalent for Bool, often known as if' if' :: a -- ^ Returned if the bool is True@@ -109,3 +109,9 @@  filter :: (Monad m, Monoid (m a), Foldable t) => (a -> Bool) -> t a -> m a filter p = foldMap (\a -> if' (return a) mempty (p a))++-- instance Foldable ((,) a) where+--     foldMap f (_, x) = f x++-- instance Traversable ((,) a) where+--     traverse f (a, x) = (,) a <$> f x
general-prelude.cabal view
@@ -1,5 +1,5 @@ Name:                general-prelude-Version:             0.1+Version:             0.1.1 Synopsis:            Prelude replacement using generalized type classes where possible Description:         This Prelude prefers more general and performance-oriented types,                      such as Category, Foldable, Traversable, Data.Text and Control.Lens.