All Versions
17
Latest Version
Avg Release Cycle
133 days
Latest Release
-
Changelog History
Page 1
Changelog History
Page 1
-
v0.5.4 Changes
- ๐ Fix a bug in which
deriveInvariant2
would fail on certain data types with three or parameters if the first two parameters had phantom roles. - ๐ Fix a bug in which
deriveInvariant(2)
would fail on sufficiently complex uses of rank-n types in constructor fields. - ๐ Fix a bug in which
deriveInvariant(2)
would needlessly reject data types whose two last type parameters appear as oversaturated arguments to a type family.
- ๐ Fix a bug in which
-
v0.5.3 Changes
May 02, 2019- Implement
foldMap'
in theFoldable
instance forWrappedFunctor
when building withbase-4.13
or later.
- Implement
-
v0.5.2 Changes
April 26, 2019- ๐ Support
th-abstraction-0.3.0.0
or later. - Only incur a
semigroups
dependency on old GHCs.
- ๐ Support
-
v0.5.1 Changes
July 15, 2018- โ
Depend on
QuickCheck-2.11
or later in the test suite. - ๐ Some Haddock fixes in
Data.Functor.Invariant.TH
.
- โ
Depend on
-
v0.5 Changes
December 07, 2017Data.Functor.Invariant.TH
now derivesinvmap(2)
implementations for empty data types that are strict in the argument.- When using
Data.Functor.Invariant.TH
to deriveInvariant(2)
instances for data types where the last type variables are at phantom roles, generatedinvmap(2)
implementations now usecoerce
for efficiency. - โ Add
Options
toData.Functor.Invariant.TH
, along with variants of existing functions that takeOptions
as an argument. For now, the only configurable option is whether derived instances for empty data types should use theEmptyCase
extension (this is disabled by default).
-
v0.4.3 Changes
July 31, 2017- โ Add
Invariant(2)
instances forData.Profunctor.Yoneda.Yoneda
.
- โ Add
-
v0.4.2 Changes
April 24, 2017invariant.cabal
used to incorrectly state the license was BSD3 when it was in fact BSD2. This is now fixed.
-
v0.4.1 Changes
April 19, 2017- ๐ Fix the
Invariant V1
instance so as toseq
its argument - ๐ Allow building with
template-haskell-2.12
- ๐ Fix the
-
v0.4 Changes
July 18, 2016- ๐ Allow TH derivation of
Invariant(2)
instances for datatypes containing unboxed tuple types - Ensure
Invariant(2)
instances are in-scope when importingData.Functor.Invariant
- โ Add
Invariant
andInvariant2
instances forKleisli
andCokleisli
- โ Add
Category
andArrow
-like instances forWrappedProfunctor
- ๐ Allow TH derivation of
-
v0.3.1 Changes
February 07, 2016- Rewrote
Data.Functor.Invariant.TH
's type inferencer. This avoids a nasty GHC 7.8-specific bug involving derivedInvariant(2)
instances for data families. - โ Add
Invariant
instances forData.Complex.Complex
,Data.Monoid.Product
, andData.Monoid.Sum
- Rewrote