packages feed

InfixApplicative 1.0.1 → 1.1

raw patch · 2 files changed

+8/−4 lines, 2 filesdep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base

API changes (from Hackage documentation)

+ Control.Applicative.Infix: (↾) :: Applicative f => f (a -> b) -> f a -> f b
+ Control.Applicative.Infix: (↿) :: Functor f => f a -> (a -> b) -> f b
- Control.Applicative.Infix: (<^) :: (Functor f) => f a -> (a -> b) -> f b
+ Control.Applicative.Infix: (<^) :: Functor f => f a -> (a -> b) -> f b
- Control.Applicative.Infix: (^>) :: (Applicative f) => f (a -> b) -> f a -> f b
+ Control.Applicative.Infix: (^>) :: Applicative f => f (a -> b) -> f a -> f b

Files

InfixApplicative.cabal view
@@ -1,6 +1,6 @@ Name:                InfixApplicative Cabal-Version:       >= 1.2-Version:             1.0.1+Version:             1.1 Synopsis:            liftA2 for infix operators. Description:         liftA2 for infix operators. License:             BSD3@@ -11,7 +11,7 @@ build-type:          Simple  Library-  Build-Depends:        base       >= 3.0,+  Build-Depends:        base       >= 3.0 && <= 5.0,                         haskell98  >= 1.0   Hs-Source-Dirs:       src   Exposed-Modules:      Control.Applicative.Infix
src/Control/Applicative/Infix.hs view
@@ -19,15 +19,19 @@  infixl 3 <^ infixl 3 ^>+infixl 3 ↿+infixl 3 ↾  -- | Renaming of @flip fmap@.  Should be used in combination with @(^>)@ to --   give infix @liftA2@: --   @[1,2] <^(+)^> [2,3]@ == @[3,4,4,5]@-(<^) :: Functor f => f a -> (a -> b) -> f b+(<^),(↿) :: Functor f => f a -> (a -> b) -> f b (<^) = flip (<$>)+(↿) = flip (<$>)  -- | Renaming of @(<*>)@.  Should be used in combination with @(<^)@ to give  --   infix @liftA2@: --   @[1,2] <^(+)^> [2,3]@ == @[3,4,4,5]@-(^>) :: Applicative f => f (a -> b) -> f a -> f b+(^>),(↾) :: Applicative f => f (a -> b) -> f a -> f b (^>) = (<*>)+(↾) = (<*>)