Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class (Category cat1, Category cat2) => GBifunctor cat1 cat2 r t | t r -> cat1 cat2 where Source #
Instances
GBifunctor ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) t => GBifunctor Op Op Op t Source # | |
GBifunctor ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) Either Source # | |
GBifunctor ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) (,) Source # | |
Defined in Control.Category.Tensor | |
GBifunctor ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) ((->) :: Type -> Type -> Type) These Source # | |
GBifunctor (Star Maybe) (Star Maybe) (Star Maybe) These Source # | |
grmap :: GBifunctor cat1 cat2 r t => (c `cat2` d) -> t a c `r` t a d Source #
glmap :: GBifunctor cat1 cat2 r t => (a `cat1` b) -> t a c `r` t b c Source #
class (Category cat, GBifunctor cat cat cat t) => Associative t cat where Source #
Instances
Associative t ((->) :: Type -> Type -> Type) => Associative t Op Source # | |
Associative Either ((->) :: Type -> Type -> Type) Source # | |
Associative (,) ((->) :: Type -> Type -> Type) Source # | |
Defined in Control.Category.Tensor | |
(Monad m, Associative t ((->) :: Type -> Type -> Type), GBifunctor (Star m) (Star m) (Star m) t) => Associative t (Star m) Source # | |
Associative These ((->) :: Type -> Type -> Type) Source # | |
class Associative t cat => Tensor t i cat | t -> i where Source #
Instances
Tensor t i ((->) :: Type -> Type -> Type) => Tensor t i Op Source # | |
Tensor Either Void ((->) :: Type -> Type -> Type) Source # | |
Tensor (,) () ((->) :: Type -> Type -> Type) Source # | |
(Monad m, Tensor t i ((->) :: Type -> Type -> Type), Associative t (Star m)) => Tensor t i (Star m) Source # | |
Tensor These Void ((->) :: Type -> Type -> Type) Source # | |
class Associative t cat => Symmetric t cat where Source #
Instances
Symmetric t ((->) :: Type -> Type -> Type) => Symmetric t Op Source # | |
Defined in Control.Category.Tensor | |
Symmetric Either ((->) :: Type -> Type -> Type) Source # | |
Symmetric (,) ((->) :: Type -> Type -> Type) Source # | |
Defined in Control.Category.Tensor | |
(Monad m, Symmetric t ((->) :: Type -> Type -> Type), Associative t (Star m)) => Symmetric t (Star m) Source # | |
Defined in Control.Category.Tensor | |
Symmetric These ((->) :: Type -> Type -> Type) Source # | |