Changelog for barbies-1.0.0.0
Changelog for barbies
1.0.0.0
-
Replaced
ConstraintsOfinConstraintsBbyAllB, which allows constraints to be given onainstead of onf a. TheClassFclass lets us specify constraints onf aby doingAllB (ClassF c f) b.ConstraintsOfbecomes then a type alias. Credit goes to Csongor Kiss. -
ConstraintsOfwas ultimately deprecated in favour ofAllBF, which is shorter and more consistent withAllB. -
Renamed
ConstraintsB(adjProof)toConstraintsB(baddDicts). -
Renamed
ProofB(bproof)toProductBC(bdicts). -
Changed the way
Wearworks: now wear-types need to have an extra type parameter that controls whether they areBareorCovered. This let us remove all the "magic" that was involved, in the sense that one couldn't have instances ofFunctorB, etc, for wear-types wihtout usingunsafeCoerce(this was true also for handwritten instances). -
Added
bsequence', a frequent specialisation ofbsequence. -
Added
bfoldMap. -
Added
buniqCandbmempty. -
Improved the internal instance derivation mechanism. We no longer need
unsafeCoerceand the code should be in general indistinguishible from hand-written instances (not currently verified). -
Fixed support for barbie-types that have additional type parameters (#5).
0.1.4.0
-
Added
btraverse_ -
Added the trivial
VoidandUnitbarbies
0.1.3.1
- Fixed issue on Barbie-types with strictness annotations.
0.1.3.0
- Use both
MonoidandSemigroupas constraints for theMonoidinstance, so that this works with ghc 8.0 to 8.4 (Fraser Murray)
0.1.2.0
- Use
Monoidand notSemigroupas constraints for theMonoidinstance
0.1.1.0
- Added
instance Semigroup (Barbie b)to go along theMonoidinstance
0.1.0.1
- Works under GHC 8.0.2, but notice one needs to use empty instance
declarations, because ghc chokes on
derivingclauses.