| Portability | non-portable (GHC Extensions) |
|---|---|
| Stability | experimental |
| Maintainer | Tom Hvitved <[email protected]> |
| Safe Haskell | None |
Data.Comp.MultiParam.Ops
Description
This module provides operators on higher-order difunctors.
Documentation
Formal sum of signatures (difunctors).
Instances
| :<: f g => f :<: (:+: h g) | |
| f :<: (:+: f g) | |
| (HDifunctor f, HDifunctor g) => HDifunctor (:+: f g) | |
| (HDitraversable f, HDitraversable g) => HDitraversable (:+: f g) | |
| (ShowHD f, ShowHD g) => ShowHD (:+: f g) | |
| (EqHD f, EqHD g) => EqHD (:+: f g) |
|
| (OrdHD f, OrdHD g) => OrdHD (:+: f g) |
|
| (Desugar f g0, Desugar g0 g0) => Desugar (:+: f g0) g0 | |
| DistAnn s p s' => DistAnn (:+: f s) p (:+: (:&: f p) s') | |
| RemA s s' => RemA (:+: (:&: f p) s) (:+: f s') | |
| (Eq (f a b i), Eq (g a b i)) => Eq (:+: f g a b i) | |
| (Ord (f a b i), Ord (g a b i)) => Ord (:+: f g a b i) | |
| (Show (f a b i), Show (g a b i)) => Show (:+: f g a b i) |
Signature containment relation for automatic injections. The left-hand must
be an atomic signature, where as the right-hand side must have a list-like
structure. Examples include f :<: f :+: g and g :<: f :+: (g :+: h),
non-examples include f :+: g :<: f :+: (g :+: h) and
f :<: (f :+: g) :+: h.
Formal product of signatures (higher-order difunctors).
Constructors
| (f a b) :*: (g a b) |
This data type adds a constant product to a signature.
Constructors
| (f a b i) :&: p |