generalised-functor: Generalisng Functors
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.
Warnings:
- No 'category' field.
- A 'license-file' is not specified.
This package Generalises Functors so "functor like" types that are not exactly Functors can be used as Functor. It also includes Contravariant Functors.
Examples of functors definable here:
fmap :: (a -> b) -> (a, a, ... , a) -> (b, b, ... , b) fmap f (x1, x2, ... , xn) = (f x1, f x2, ... , f xn)
contramap :: (a -> b) -> (b -> r) -> (a -> r) contramap = flip (.)
Properties
Versions | 0.0.4 |
---|---|
Change log | None available |
Dependencies | base (<=4.9) [details] |
License | BSD-3-Clause |
Author | clintonmead@gmail.com |
Maintainer | clintonmead@gmail.com |
Uploaded | by clintonmead at 2015-10-20T02:05:11Z |
Modules
[Index]
- Control
- GeneralisedFunctor
Downloads
- generalised-functor-0.0.4.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees