packages feed

rebase 0.5 → 0.5.1

raw patch · 3 files changed

+19/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Rebase.Data.Bifunctor: mapLeft :: Bifunctor p => (a -> b) -> p a c -> p b c
+ Rebase.Data.Bifunctor: mapRight :: Bifunctor p => (b -> c) -> p a b -> p a c

Files

library/Rebase/Data/Bifunctor.hs view
@@ -1,7 +1,24 @@ module Rebase.Data.Bifunctor (   module Data.Bifunctor,+  mapLeft,+  mapRight, ) where  import Data.Bifunctor+++-- |+-- A more meaningful and conflict-free alias for 'first'.+{-# INLINE mapLeft #-}+mapLeft :: Bifunctor p => (a -> b) -> p a c -> p b c+mapLeft =+  first++-- |+-- A more meaningful and conflict-free alias for 'second'.+{-# INLINE mapRight #-}+mapRight :: Bifunctor p => (b -> c) -> p a b -> p a c+mapRight =+  second
library/Rebase/Prelude.hs view
@@ -65,7 +65,7 @@ -- either ------------------------- import Rebase.Control.Monad.Trans.Either as Exports hiding (left, right)-import Rebase.Data.Either.Combinators as Exports hiding (isLeft, isRight)+import Rebase.Data.Either.Combinators as Exports hiding (isLeft, isRight, mapLeft, mapRight) import Rebase.Data.Either.Validation as Exports  -- fail
rebase.cabal view
@@ -1,7 +1,7 @@ name:   rebase version:-  0.5+  0.5.1 synopsis:   A more progressive alternative to the "base" package description: