Safe Haskell | None |
---|---|
Language | Haskell2010 |
Proarrow.Preorder.ThinCategory
Documentation
class (Profunctor p, Thin j, Thin k) => ThinProfunctor (p :: j +-> k) where Source Comments #
Methods
arr :: forall (a :: k) (b :: j). (Ob a, Ob b, HasArrow p a b) => p a b Source Comments #
withArr :: forall (a :: k) (b :: j) r. p a b -> (HasArrow p a b => r) -> r Source Comments #
Instances
class ThinProfunctor ((~>) :: CAT k) => Thin k Source Comments #
Instances
ThinProfunctor ((~>) :: CAT k) => Thin k Source Comments # | |
Defined in Proarrow.Preorder.ThinCategory |
class (ThinProfunctor p, forall (c :: k) (d :: j). (Ob c, Ob d) => HasArrow' p c d, Codiscrete j, Codiscrete k) => CodiscreteProfunctor (p :: j +-> k) where Source Comments #
Instances
(ThinProfunctor p, forall (c :: k) (d :: j). (Ob c, Ob d) => HasArrow' p c d, Codiscrete j, Codiscrete k) => CodiscreteProfunctor (p :: j +-> k) Source Comments # | |
class CodiscreteProfunctor ((~>) :: CAT k) => Codiscrete k Source Comments #
Instances
CodiscreteProfunctor ((~>) :: CAT k) => Codiscrete k Source Comments # | |
Defined in Proarrow.Preorder.ThinCategory |
class HasArrow p c d ~ (c ~ d) => ArrowIsId (p :: k +-> k) (c :: k) (d :: k) where Source Comments #
class (ThinProfunctor p, forall (c :: k) (d :: k). ArrowIsId p c d, Discrete k) => DiscreteProfunctor (p :: k +-> k) where Source Comments #
Instances
(ThinProfunctor p, forall (c :: k) (d :: k). ArrowIsId p c d, Discrete k) => DiscreteProfunctor (p :: k +-> k) Source Comments # | |
class DiscreteProfunctor ((~>) :: CAT k) => Discrete k Source Comments #
Instances
DiscreteProfunctor ((~>) :: CAT k) => Discrete k Source Comments # | |
Defined in Proarrow.Preorder.ThinCategory |
newtype THIN k Source Comments #
Constructors
T k |
Instances
Thin k => PreorderOf (THIN k) Source Comments # | A thin category as a preorder. | ||||
Defined in Proarrow.Preorder.ThinCategory Associated Types
| |||||
Thin k => CProfunctor (ThinCategory :: THIN k -> THIN k -> Constraint) Source Comments # | |||||
Thin k => CPromonad (ThinCategory :: THIN k -> THIN k -> Constraint) Source Comments # | |||||
Defined in Proarrow.Preorder.ThinCategory Methods 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 # | |||||
type UN ('T :: j -> THIN j) ('T a :: THIN j) Source Comments # | |||||
type (<=) Source Comments # | |||||
Defined in Proarrow.Preorder.ThinCategory | |||||
type COb (a :: THIN k) Source Comments # | |||||