functor-combinators v0.3.2.0 Release Notes
-
August 9, 2020
🚀 https://github.com/mstksg/functor-combinators/releases/tag/v0.3.2.0
- Data.HFunctor.Interpret:
icollect
,icollect1
now are more constrained: they only work on things that haveInterpret
instances for allMonoid m
orSemigroup m
inAltConst m
. While this doesn't affect how it works on any types in this library, it does make the type signature a little more clean (hiding the usage ofDList
) and prevents one from making an oddInterpret
instance that does something weird with theDList
. This also allows us to drop the direct dlist >= 1.0 dependency. - Data.HFunctor.Interpret:
biapply
,bifanout
,bifanout1
added as contravariant consumer versions ofiget
,icollect
, andicollect1
. - Data.HBifunctor.Associative:
bicollect
bicollect1
removed because they really don't make sense for associative tensors, which can only have at most one of each tensor. - Data.HBifunctor.Associative:
biapply
added as the contravariant consumer version ofbiget
. - Data.Functor.Invariant.Day: Add conversion functions from chains to the
covariant/invariant versions,
chainAp
,chainAp1
,chainDiv
, andchainDiv1
. - Data.Functor.Invariant.Night: Add conversion functions from chains to the
covariant/invariant versions,
chainDec
,chainDec1
,chainListF
,chainNonEmptyF
. Also add "undescored" versions to the covariant versions,toCoNight_
,chainListF_
,chainNonEmptyF_
, to more accurately represent the actual contravariant either-based day convolution. Also changedShare
toSwerve
. - Data.Functor.Combinator:
AltConst
re-exported.
- Data.HFunctor.Interpret: