Safe Haskell | None |
---|---|
Language | Haskell2010 |
Proarrow.Category.Instance.Nat
Contents
Documentation
data Nat (f :: j -> k) (g :: j -> k) where Source Comments #
Constructors
Nat | |
Instances
Promonad (Nat :: (j -> Type) -> (j -> Type) -> Type) Source Comments # | |
Promonad (Nat :: (k1 -> k2 -> k3 -> k4 -> Type) -> (k1 -> k2 -> k3 -> k4 -> Type) -> Type) Source Comments # | |
Defined in Proarrow.Category.Instance.Nat | |
Promonad (Nat :: (k1 -> k2 -> k3 -> Type) -> (k1 -> k2 -> k3 -> Type) -> Type) Source Comments # | |
Tambara (Nat :: (Type -> Type) -> (Type -> Type) -> Type) (Replacing a b :: Type -> Type -> Type) Source Comments # | |
MonoidalProfunctor (Nat :: (Type -> Type) -> (Type -> Type) -> Type) Source Comments # | |
Profunctor (Nat :: (k1 -> k2 -> k3 -> k4 -> Type) -> (k1 -> k2 -> k3 -> k4 -> Type) -> Type) Source Comments # | |
Defined in Proarrow.Category.Instance.Nat Methods dimap :: forall (c :: k1 -> k2 -> k3 -> k4 -> Type) (a :: k1 -> k2 -> k3 -> k4 -> Type) (b :: k1 -> k2 -> k3 -> k4 -> Type) (d :: k1 -> k2 -> k3 -> k4 -> Type). (c ~> a) -> (b ~> d) -> Nat a b -> Nat c d Source Comments # (\\) :: forall (a :: k1 -> k2 -> k3 -> k4 -> Type) (b :: k1 -> k2 -> k3 -> k4 -> Type) r. ((Ob a, Ob b) => r) -> Nat a b -> r Source Comments # | |
Profunctor (Nat :: (k1 -> k2 -> k3 -> Type) -> (k1 -> k2 -> k3 -> Type) -> Type) Source Comments # | |
Defined in Proarrow.Category.Instance.Nat Methods dimap :: forall (c :: k1 -> k2 -> k3 -> Type) (a :: k1 -> k2 -> k3 -> Type) (b :: k1 -> k2 -> k3 -> Type) (d :: k1 -> k2 -> k3 -> Type). (c ~> a) -> (b ~> d) -> Nat a b -> Nat c d Source Comments # (\\) :: forall (a :: k1 -> k2 -> k3 -> Type) (b :: k1 -> k2 -> k3 -> Type) r. ((Ob a, Ob b) => r) -> Nat a b -> r Source Comments # | |
Profunctor (Nat :: (k1 -> Type) -> (k1 -> Type) -> Type) Source Comments # | |
Defined in Proarrow.Category.Instance.Nat |
newtype NatK j k Source Comments #
Constructors
NT (j -> k) |
Instances
CategoryOf (NatK j k) Source Comments # | |
Defined in Proarrow.Category.Instance.Nat | |
Promonad (Nat' :: NatK j k -> NatK j k -> Type) Source Comments # | |
Profunctor (Nat' :: NatK j k -> NatK j k -> Type) Source Comments # | |
type (~>) Source Comments # | |
type Ob (f :: NatK j k) Source Comments # | |
type UN ('NT :: (j -> k) -> NatK j k) ('NT f :: NatK j k) Source Comments # | |
data Nat' (f :: NatK k k1) (g :: NatK k k1) where Source Comments #
Constructors
Nat' | |
Orphan instances
Monoidal (Type -> Type) Source Comments # | |||||||||
Associated Types
Methods par :: forall (a :: Type -> Type) (b :: Type -> Type) (c :: Type -> Type) (d :: Type -> Type). (a ~> b) -> (c ~> d) -> (a ** c) ~> (b ** d) Source Comments # leftUnitor :: forall (a :: Type -> Type). Obj a -> ((Unit :: Type -> Type) ** a) ~> a Source Comments # leftUnitorInv :: forall (a :: Type -> Type). Obj a -> a ~> ((Unit :: Type -> Type) ** a) Source Comments # rightUnitor :: forall (a :: Type -> Type). Obj a -> (a ** (Unit :: Type -> Type)) ~> a Source Comments # rightUnitorInv :: forall (a :: Type -> Type). Obj a -> a ~> (a ** (Unit :: Type -> Type)) Source Comments # associator :: forall (a :: Type -> Type) (b :: Type -> Type) (c :: Type -> Type). Obj a -> Obj b -> Obj c -> ((a ** b) ** c) ~> (a ** (b ** c)) Source Comments # associatorInv :: forall (a :: Type -> Type) (b :: Type -> Type) (c :: Type -> Type). Obj a -> Obj b -> Obj c -> (a ** (b ** c)) ~> ((a ** b) ** c) Source Comments # | |||||||||
CategoryOf (k1 -> k2 -> k3 -> k4 -> Type) Source Comments # | |||||||||
CategoryOf (k1 -> k2 -> k3 -> Type) Source Comments # | |||||||||
CategoryOf (k1 -> Type) Source Comments # | |||||||||