The generalised-functor package

[maintain]
Warnings:

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

Version0.0.4
Dependenciesbase (<=4.9) [details]
LicenseBSD3
Authorclintonmead@gmail.com
Maintainerclintonmead@gmail.com
StabilityExperimental
UploadedTue Oct 20 02:05:11 UTC 2015 by clintonmead

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees