functor-combinators v0.3.3.0 Release Notes
-
August 11, 2020
๐ https://github.com/mstksg/functor-combinators/releases/tag/v0.3.3.0
- Control.Applicative.ListF: Missing contravariant instances added for
MaybeF
. - Data.HFunctor: Add
injectMap
andinjectContramap
, two small utility functions that represent common patterns in injection and mapping. - Data.Functor.Combinator: Replace
divideN
and related functions withdsum
anddsum1
, which is an altogether cleaner interface that doesn't require heterogenous lists. A part of a larger project on cleaning upDivisible
tools. - Data.Functor.Contravariant.Divise: Add useful utility functions
dsum
and<:>
, which makes the type ofdivise
closer to that of<|>
andasum
. - ๐ Data.Functor.Contravariant.Divisible.Free: Implement
Div
in terms of a list, instead of the mirroredAp
. Should make it much easier to use, although a less-than-idealCoyoneda
is required to keep it compatible with the contravariantDay
in kan-extensions. Added patterns to recover the original interface.
- Control.Applicative.ListF: Missing contravariant instances added for