- Support building with GHC 8.6, where
Data.Functor.Contravarianthas been moved into
- Add lots of documentation explaining
- Fix some dodgy CPP usage that caused the build to fail on Eta.
- Improved the performance of
Decidingat the cost of downgrading it to
- Support for GHC 8
- Support for
instance Monoid m => Divisible (Const m)
- Fixed builds on GHC 7.2
Data.Functor.Contravariant.Genericon GHC 7.4+
- We’ve merged the
StateVarpackages. Transferring support to
- Fixed redundant import warnings on GHC 7.10.
Data.Functor.Contravariant. This combinator was formerly called
lenspackage, but GHC 7.8 added a
coercemethod to base with a different meaning.
- Added an unsupported
-f-semigroupsbuild flag that disables support for the
- Minor documentation improvements.
- Fix build on GHC 7.0.4
Dayconvolution. The right adjoint of Day convolution is in
kan-extensionsas 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
KindSignatureson older GHCs
- Added covariant
Dayconvolution. It isn’t contravariant, but it is inspired by the contravariant construction.
- Added instances for
- Fixed compatibility with GHC 7.7 and tightened
instance (Functor f, Contravariant g) => Contravariant (Compose f g). (This is non-canonical, but is necessary to support other packages.)
ComposeCFfor use when modeling phantom type parameters caused mixing
Used by 106 packages:
adjunctions, apart, asn1-codec, base-compat-batteries, brick, category-extras, clang-pure, colonnade, columbia, comonad, composite-aeson, composition-extra, contravariant-extras, dejafu, dhall, dhall-to-cabal, discrimination, DysFRP, edges, enummapmap, eventful-core, exists, fit, foldl, folds, for-free, Frames, free-functors, funflow, generic-data, hasql, hasql-class, hasql-cursor-query, hasql-cursor-transaction, hasql-generic, hasql-migration, hasql-simple, hasql-transaction, hedgehog-fn, hexml-lens, and many more