The generalised-functor package
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.
- 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 (.)
|Change log||None available|
|Dependencies||base (<=4.9) [details]|
|Uploaded||Mon Oct 19 15:00:36 UTC 2015 by clintonmead|
- generalised-functor-0.0.1.tar.gz [browse] (Cabal source package)
- Package description (included in the package)
For package maintainers and hackage trustees