Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type POS k = k -> k -> Constraint Source Comments #
class CPromonad ((<=) :: POS k) => PreorderOf k Source Comments #
Instances
PreorderOf Constraint Source Comments # | |||||||||
Defined in Proarrow.Preorder.Constraint
| |||||||||
PreorderOf (DISCRETE k) Source Comments # | |||||||||
Defined in Proarrow.Preorder.Discrete
| |||||||||
Thin k => PreorderOf (THIN k) Source Comments # | |||||||||
Defined in Proarrow.Preorder.ThinCategory
|
type IsPosetOf k (pos :: POS k) = (PreorderOf k, pos ~ ((<=) :: POS k), CPromonad pos) Source Comments #
class CProfunctor (p :: k -> k -> Constraint) where Source Comments #
cdimap :: forall (c :: k) (a :: k) (b :: k) (d :: k). (c <= a, b <= d, p a b) :- p c d Source Comments #
obs :: forall (a :: k) (b :: k). p a b :- (COb a, COb b) Source Comments #
Instances
CProfunctor (:=>) Source Comments # | |
CProfunctor ((~) :: DISCRETE k -> DISCRETE k -> Constraint) Source Comments # | |
Thin k => CProfunctor (ThinCategory :: THIN k -> THIN k -> Constraint) Source Comments # | |
class CProfunctor p => CPromonad (p :: k -> k -> Constraint) where Source Comments #
cid :: forall (a :: k). COb a => () :- p a a Source Comments #
ccomp :: forall (a :: k) (b :: k) (c :: k). (p b c, p a b) :- p a c Source Comments #
Instances
CPromonad (:=>) Source Comments # | |
CPromonad ((~) :: DISCRETE k -> DISCRETE k -> Constraint) Source Comments # | |
Thin k => CPromonad (ThinCategory :: THIN k -> THIN k -> Constraint) Source Comments # | |
Defined in Proarrow.Preorder.ThinCategory cid :: forall (a :: THIN k). COb a => () :- ThinCategory a a Source Comments # ccomp :: forall (a :: THIN k) (b :: THIN k) (c :: THIN k). (ThinCategory b c, ThinCategory a b) :- ThinCategory a c Source Comments # |