constrained: Generalization of standard Functor, Foldable, and Traversable classes
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
This package generalizes familiar Functor
, Foldable
and Traversable
for the case when a functorial type of kind Type -> Type imposes certain constraints
on what can be put in. E.g. Set
can only deal with types that are an instance of Ord
and therefore cannot be made an instance of Functor
. But it can be made
an instance of a constrained functor with a similar interface that this
package provides.
Properties
Versions | 0.1, 0.1 |
---|---|
Change log | None available |
Dependencies | base (>=4.8 && <5) [details] |
License | BSD-2-Clause |
Author | Sergey Vinokurov |
Maintainer | Sergey Vinokurov <serg.foo@gmail.com> |
Category | Data |
Uploaded | by SergeyVinokurov at 2019-10-27T14:50:22Z |
Modules
[Index] [Quick Jump]
- Data
- Data.Constrained
- Foldable
- Functor
- Traversable
Downloads
- constrained-0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees