- Drop support for GHC < 8.6
- Remove
Contravariant
instances forErrorT
andListT
fromtransformers
. These data types were previously deprecated and have been removed intransformers-0.6.*
.
- Fix the build on old GHCs using
transformers-0.6.*
.
- Allow building with
transformers-0.6.*
.
- Explicitly mark modules as
Safe
.
- Mark
Data.Functor.Contravariant
andData.Functor.Contravariant.Generic
as unconditionallyTrustworthy
.
- Remove the use of
unsafeCoerce
inData.Functor.Contravariant.Generic
. As a result, thesafe
flag has been removed, as it is no longer used.
- Support building with GHC 8.6, where
Data.Functor.Contravariant
has been moved intobase
.
- Add
Semigroup
andMonoid
instances forPredicate
. - Add lots of documentation explaining
Contravariant
,Divisible
, andDecidable
. - Fix some dodgy CPP usage that caused the build to fail on Eta.
- Improved the performance of
Deciding
at the cost of downgrading it toTrustworthy
. - Support for GHC 8
- Support for
transformers
0.5
- Add
instance Monoid m => Divisible (Const m)
- Add
($<)
operator
- Fixed builds on GHC 7.2
- Added
Data.Functor.Contravariant.Generic
on GHC 7.4+
- We've merged the
foreign-var
andStateVar
packages. Transferring support toStateVar
.
- Fixed redundant import warnings on GHC 7.10.
- Added
foreign-var
support.
- Added
phantom
toData.Functor.Contravariant
. This combinator was formerly calledcoerce
in thelens
package, but GHC 7.8 added acoerce
method to base with a different meaning. - Added an unsupported
-f-semigroups
build flag that disables support for thesemigroups
package. - Minor documentation improvements.
- Fix build on GHC 7.0.4
- Renamed
Data.Functor.Contravariant.Applicative
toData.Functor.Contravariant.Divisible
- Added
Data.Functor.Contravariant.Applicative
- Removed
Day
convolution. The right adjoint of Day convolution is inkan-extensions
as the right Kan lift. Moving these there to avoid forcing orphan instances. It also rather dramatically reduces the number of extensions required. - This requires a first digit bump as it breaks several of my own packages.
- Fixed issue with needing
KindSignatures
on older GHCs
- Added covariant
Day
convolution. It isn't contravariant, but it is inspired by the contravariant construction.
transformers
0.4 compatibility
- Added
(>$)
- Added instances for
GHC.Generics
- Fixed compatibility with GHC 7.7 and tightened
Safe
Haskell support.
- Added
Day
convolution underData.Functor.Contravariant.Day
.
- Added
Backwards
andReverse
instances fortransformers
0.3 - Added
instance (Functor f, Contravariant g) => Contravariant (Compose f g)
. (This is non-canonical, but is necessary to support other packages.) - Added
Functor
instances toComposeFC
andComposeCF
for use when modeling phantom type parameters caused mixingFunctor
+Contravariant
.