packages feed

applicable 0.3.0.0 → 0.4.0.0

raw patch · 3 files changed

+6/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Data.Applicable: instance GHC.Generics.Generic (Data.Applicable.ApplyMap a b)

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for applicable +## 0.4.0.0 -- 2022-06-27++* Fixed missing instances from 0.3.0.0.+ ## 0.3.0.0 -- 2022-06-27  * Added more instances.
Data/Applicable.hs view
@@ -53,7 +53,7 @@  -- | A wrapper for functions. --   Can be applied to a 'Functor', 'fmap'-ing the function over the inner values.-newtype ApplyMap a b = AppMap { unAppMap :: a -> b } deriving Functor+newtype ApplyMap a b = AppMap { unAppMap :: a -> b } deriving (Generic, Functor)  instance Functor f => Applicable (ApplyMap a b) (f a) (f b) where   AppMap f $* xa = f <$> xa
applicable.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.4 name:               applicable-version:            0.3.0.0+version:            0.4.0.0 synopsis:           A class for things that can be applied description:        A class for things that can be applied, and utility newtypes homepage:           https://github.com/schuelermine/applicable