Safe Haskell | None |
---|---|
Language | Haskell2010 |
Proarrow.Category.Instance.Sub
Documentation
data SUBCAT (ob :: OB k) Source Comments #
Constructors
SUB k |
Instances
Adjunction List (Forget Monoid) Source Comments # | |||||
CategoryOf k => Profunctor (Forget ob :: k -> SUBCAT ob -> Type) Source Comments # | |||||
CategoryOf k => Representable (Forget ob :: k -> SUBCAT ob -> Type) Source Comments # | |||||
Defined in Proarrow.Profunctor.Forget Methods index :: forall (a :: k) (b :: SUBCAT ob). Forget ob a b -> a ~> (Forget ob % b) Source Comments # tabulate :: forall (b :: SUBCAT ob) (a :: k). Ob b => (a ~> (Forget ob % b)) -> Forget ob a b Source Comments # repMap :: forall (a :: SUBCAT ob) (b :: SUBCAT ob). (a ~> b) -> (Forget ob % a) ~> (Forget ob % b) Source Comments # | |||||
(Monoidal k, ob (Unit :: k), forall (a :: k) (b :: k). (ob a, ob b) => IsObMult ob a b) => Monoidal (SUBCAT ob) Source Comments # | |||||
Defined in Proarrow.Category.Instance.Sub Associated Types
Methods par :: forall (a :: SUBCAT ob) (b :: SUBCAT ob) (c :: SUBCAT ob) (d :: SUBCAT ob). (a ~> b) -> (c ~> d) -> (a ** c) ~> (b ** d) Source Comments # leftUnitor :: forall (a :: SUBCAT ob). Obj a -> ((Unit :: SUBCAT ob) ** a) ~> a Source Comments # leftUnitorInv :: forall (a :: SUBCAT ob). Obj a -> a ~> ((Unit :: SUBCAT ob) ** a) Source Comments # rightUnitor :: forall (a :: SUBCAT ob). Obj a -> (a ** (Unit :: SUBCAT ob)) ~> a Source Comments # rightUnitorInv :: forall (a :: SUBCAT ob). Obj a -> a ~> (a ** (Unit :: SUBCAT ob)) Source Comments # associator :: forall (a :: SUBCAT ob) (b :: SUBCAT ob) (c :: SUBCAT ob). Obj a -> Obj b -> Obj c -> ((a ** b) ** c) ~> (a ** (b ** c)) Source Comments # associatorInv :: forall (a :: SUBCAT ob) (b :: SUBCAT ob) (c :: SUBCAT ob). Obj a -> Obj b -> Obj c -> (a ** (b ** c)) ~> ((a ** b) ** c) Source Comments # | |||||
(SymMonoidal k, ob (Unit :: k), forall (a :: k) (b :: k). (ob a, ob b) => IsObMult ob a b) => SymMonoidal (SUBCAT ob) Source Comments # | |||||
CategoryOf k => CategoryOf (SUBCAT ob) Source Comments # | The subcategory with objects with instances of the given constraint | ||||
Defined in Proarrow.Category.Instance.Sub | |||||
(MonoidalAction m k, Monoidal (SUBCAT ob)) => MonoidalAction (SUBCAT ob) k Source Comments # | |||||
Defined in Proarrow.Category.Monoidal.Optic Methods act :: forall (p :: SUBCAT ob) (q :: SUBCAT ob) (x :: k) (y :: k). (p ~> q) -> (x ~> y) -> Act p x ~> Act q y Source Comments # unitor :: forall (x :: k). Obj x -> Act (Unit :: SUBCAT ob) x ~> x Source Comments # unitorInv :: forall (x :: k). Obj x -> x ~> Act (Unit :: SUBCAT ob) x Source Comments # multiplicator :: forall (p :: SUBCAT ob) (q :: SUBCAT ob) (x :: k). Obj p -> Obj q -> Obj x -> Act p (Act q x) ~> Act (p ** q) x Source Comments # multiplicatorInv :: forall (p :: SUBCAT ob) (q :: SUBCAT ob) (x :: k). Obj p -> Obj q -> Obj x -> Act (p ** q) x ~> Act p (Act q x) Source Comments # | |||||
Profunctor List Source Comments # | |||||
Representable List Source Comments # | |||||
Defined in Proarrow.Profunctor.Forget | |||||
Promonad ((~>) :: CAT k) => Promonad (Sub :: SUBCAT ob -> SUBCAT ob -> Type) Source Comments # | |||||
Monad m => Tambara (Sub :: SUBCAT (Algebra m) -> SUBCAT (Algebra m) -> Type) (Classifying m a b :: Type -> Type -> Type) Source Comments # | |||||
Defined in Proarrow.Category.Monoidal.Optic | |||||
(Monoidal k, ob (Unit :: k), forall (a :: k) (b :: k). (ob a, ob b) => IsObMult ob a b) => MonoidalProfunctor (Sub :: SUBCAT ob -> SUBCAT ob -> Type) Source Comments # | |||||
Profunctor ((~>) :: CAT k) => Profunctor (Sub :: SUBCAT ob -> SUBCAT ob -> Type) Source Comments # | |||||
type List % (a :: Type) Source Comments # | |||||
type UN ('SUB :: j -> SUBCAT ob) ('SUB k :: SUBCAT ob) Source Comments # | |||||
type Unit Source Comments # | |||||
Defined in Proarrow.Category.Instance.Sub | |||||
type (~>) Source Comments # | |||||
type Ob (a :: SUBCAT ob) Source Comments # | |||||
type (a :: SUBCAT ob) ** (b :: SUBCAT ob) Source Comments # | |||||
type Act (p :: SUBCAT ob) (x :: k) Source Comments # | |||||
type (Forget ob :: k -> SUBCAT ob -> Type) % ('SUB a :: SUBCAT ob) Source Comments # | |||||
data Sub (a :: SUBCAT ob) (b :: SUBCAT ob) where Source Comments #
Constructors
Sub :: forall {k} (ob :: OB k) (a1 :: k) (b1 :: k). (ob a1, ob b1) => (a1 ~> b1) -> Sub ('SUB a1 :: SUBCAT ob) ('SUB b1 :: SUBCAT ob) |
Instances
Promonad ((~>) :: CAT k) => Promonad (Sub :: SUBCAT ob -> SUBCAT ob -> Type) Source Comments # | |
Monad m => Tambara (Sub :: SUBCAT (Algebra m) -> SUBCAT (Algebra m) -> Type) (Classifying m a b :: Type -> Type -> Type) Source Comments # | |
Defined in Proarrow.Category.Monoidal.Optic | |
(Monoidal k, ob (Unit :: k), forall (a :: k) (b :: k). (ob a, ob b) => IsObMult ob a b) => MonoidalProfunctor (Sub :: SUBCAT ob -> SUBCAT ob -> Type) Source Comments # | |
Profunctor ((~>) :: CAT k) => Profunctor (Sub :: SUBCAT ob -> SUBCAT ob -> Type) Source Comments # | |
class (CategoryOf k, ob (a ** b)) => IsObMult (ob :: OB k) (a :: k) (b :: k) Source Comments #
Instances
(CategoryOf k, ob (a ** b)) => IsObMult (ob :: k -> Constraint) (a :: k) (b :: k) Source Comments # | |
Defined in Proarrow.Category.Instance.Sub |