- Support
GHC-9.10
.
- Support
GHC-9.6
andmtl-2.3
, drop support ofGHC-8.8
.
- Support
GHC-9.0
,GHC-9.2
andGHC-9.4
, drop support forGHC-8.6
or earlier.
- Added two properties for each:
foldMapFree
,foldNatFree
andfoldNatFree2
. - Added default implementations of
codom
/forget
,codom1
/forget
andcodom2
/forget2
, what simplifies writting instances. - Changed internal representation of FreeAbelianSemigroup: use Natural
- removed
natural-number
dependency and useNumeric.Natural.Natural
instead. - Applicative instance for
FreeMAction
. - Added
Free1
type. - Removed
constraints
dependency. - Renamed
Data.Semigroup.SemiLattice
toData.Semigroup.Semilattice
, alsoFreeSemiLattice
renamed toFreeSemilattice
. - various optimisation (rewrite rules & inline pragmas)
- Enhanced documentation, and properly attributed fix in ChangeLog.
Data.Group.Free.normalize
andData.Group.Free.normalizeL
are not bothO(n)
, but the former is implemented using the latter (e.g. transformsDList
to a list), by Justin Le (https://github.com/mstsg)
- Poly kinded
Control.Algebra.Free.FreeAlgebra
andControl.Algebra.Free2.FreeAlgebra2
- removed actions (MSet, SSet), use
monoid-extras
orsemigroups-actions
packages
Num a => SSet (Sum a) a
andNum a => SSet (Product a) a
instancesNum a => MSet (Sum a) a
andNum a => MSet (Product a) a
instances- removed some overlapping instances for
SSet
andMSet
Control.Algebra.Free2
module, seefree-category
package for applications.
- Improved documentation
FreeAlgebra
renamedproof
tocodom
, addedProof
smart constructorproof
.FreeAlgebra
instance forIdentity
functor- generic
Free
type DList
andFreeGroup
based onDList
,FreeGroupL
- documentation on strictness / laziness improved
S
new type wrapper inSSet
, and overlappable instance forSSet s a => SSet (S s) (Endo a)
foldrFree
and friendsfoldrMSet
- documented intersection with
monad-mmorph
package.
- Breaking change: changed proofs in FreeAlgebra and FreeAlgebra1 class; now
using
FreeAlgebra
andFreeAlgebra1
classes let us deduce an adjunction. - Monadicity example
- Simplified
Proof
type.