Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class Transformation t Source #
A Transformation
, natural or not, maps one functor to another.
Instances
(Transformation t1, Transformation t2, Domain t1 ~ Domain t2) => Transformation (Either t1 t2) Source # | |
(Transformation t1, Transformation t2, Domain t1 ~ Domain t2) => Transformation (t1, t2) Source # | |
(Transformation t, Transformation u, Domain t ~ Codomain u) => Transformation (Compose t u) Source # | |
Transformation (Fold p m) Source # | |
Transformation (Map p q) Source # | |
Transformation (Inherited t a) Source # | |
Transformation (Traversal p q m) Source # | |
Transformation (Arrow p q x) Source # | |
class Transformation t => At t x where Source #
An unnatural Transformation
can behave differently at different points.
Instances
(At t x, At u x, Domain t ~ Domain u) => At (Either t u) x Source # | |
(At t x, At u x, Domain t ~ Domain u) => At (t, u) x Source # | |
(At t x, At u x, Domain t ~ Codomain u) => At (Compose t u) x Source # | |
At (Fold p m) x Source # | |
At (Map p q) x Source # | |
Atts (Inherited t) a ~ Atts (Inherited t) b => At (Inherited t a) b Source # | |
At (Traversal p q m) x Source # | |
At (Arrow p q x) x Source # | |
Composition of two transformations
Compose t u |