Changelog¶
0.3.0¶
Added¶
Add
Bindtypeclass.Add
Traversabletypeclass.Add
Dictionarytype.Add
Applytypeclass. In the typeclass hierarchy, it’s betweenFunctorandApplicative.Add
+operator forSemigroup(andMonoid) instances.Add
<<operator forApply(andApplicative) instances.Add
apply_firstmethod toApply.Add
lift4andlift5functions.Add
flap(andflip) functions.Add
UncurriedFunction,UncurriedFunctionMonoidanduncurriedin order to support functions with arbitrary function signatures.
Changed¶
Rename
sequencetoapply_second.Rename
liftA2tolift2.Rename
liftA3tolift3.Modify sampling for property tests. In particular, type constructors are sampled first, then those are used to sample concrete types. This way, other type constructor parameters are kept constant while the one of current interest can be modified.
Fixed¶
Fix
liftA2andliftA3.Complete
Hashabletypeclass.
0.2.0¶
Added¶
Add
Eqtypeclass.Add
LinkedListtype.
Changed¶
Mask out some built-in class methods such as
__eq__and__hash__. Python doesn’t allow deleting these methods so we need to do some black magic to hide them as if they didn’t exist.Make
Functionobjects curried and so that they only accept mandatory positional arguments.
Fixed¶
Fix the composition operator
**forFunctionobjects.
Removed¶
Remove
CommutativeMonoid.Remove
curryfunction.
0.1.3¶
Fixed¶
Fix PyPI releasing on GitHub
0.1.2¶
Changed¶
Improve operator docstrings.
0.1.1¶
Changed¶
Change bind operator to
%.
0.1.0¶
Added¶
Add typeclasses
Functor,Applicative,Monad,Semigroup,Monoid,Commutative,CommutativeMonoid,Foldable,Contravariant,Profunctor,Cartesian,Cocartesian.Add monads
Identity,Maybe,Either,List,Function.Add transformers
Compose,MaybeT,IdentityT.Add simple monoids
Sum,And,Or,String,EndoAdd profunctor optics
adapter,lens,prism.Test typeclass laws with property-based testing.
Add
curry,function,singleton,const,compose,identityutility functions.