Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- class (Transformation t, Functor g) => Functor t g where
- class (Transformation t, Foldable g) => Foldable t g where
- class (Transformation t, Traversable g) => Traversable t g where
- fmap :: Functor t g => t -> g (Domain t) -> g (Codomain t)
Documentation
class (Transformation t, Functor g) => Functor t g where Source #
Like Functor
except it takes a Transformation
instead of a polymorphic function
class (Transformation t, Foldable g) => Foldable t g where Source #
Like Foldable
except it takes a Transformation
instead of a polymorphic function
class (Transformation t, Traversable g) => Traversable t g where Source #
Like Traversable
except it takes a Transformation
instead of a polymorphic function
Instances
(Traversable t g, Traversable t h, Codomain t ~ Compose m f, Applicative m) => Traversable t (Product g h) Source # | |