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.



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 logNone available
Dependenciesbase (<=4.9) [details]
UploadedMon Oct 19 15:06:06 UTC 2015 by clintonmead




Maintainers' corner

For package maintainers and hackage trustees