keera-hails-reactivevalues-0.2.2.2: Haskell on Rails - Reactive Values

Safe HaskellSafe
LanguageHaskell98

Control.GFunctor

Description

Functors parameterised over the morphisms in the source category.

Synopsis

Documentation

class GFunctor f m where Source #

A class for Functors in which the morphisms in the source category do not have to be of kind arrow '(->)', but can be anything (see the parameter m).

Minimal complete definition

gmap

Methods

gmap :: m a b -> f a -> f b Source #

Map parameterised over the morphisms in the source category.

Instances

Functor a => GFunctor a (->) Source #

Trivial instance for the arrow morphism '(->)'. Anything that is a functor is also a GFunctor in the trivial way.

Methods

gmap :: (a -> b) -> a a -> a b Source #

Monad m => GFunctor (ReactiveFieldReadWrite m) BijectiveFunc Source # 

(<$$>) :: GFunctor f m => m a b -> f a -> f b infixl 8 Source #

A more readable (ignorable) name for gmap.