| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Proarrow.Category.Instance.Fam
Documentation
Instances
| CategoryOf k => FunctorForRep (Embed :: k +-> FAM k) Source Github # | |||||
| CategoryOf k => HasBinaryCoproducts (FAM k) Source Github # | |||||
Defined in Proarrow.Category.Instance.Fam Methods withObCoprod :: forall (a :: FAM k) (b :: FAM k) r. (Ob a, Ob b) => (Ob (a || b) => r) -> r Source Github # lft :: forall (a :: FAM k) (b :: FAM k). (Ob a, Ob b) => a ~> (a || b) Source Github # rgt :: forall (a :: FAM k) (b :: FAM k). (Ob a, Ob b) => b ~> (a || b) Source Github # (|||) :: forall (x :: FAM k) (a :: FAM k) (y :: FAM k). (x ~> a) -> (y ~> a) -> (x || y) ~> a Source Github # (+++) :: forall (a :: FAM k) (b :: FAM k) (x :: FAM k) (y :: FAM k). (a ~> x) -> (b ~> y) -> (a || b) ~> (x || y) Source Github # | |||||
| CategoryOf k => HasInitialObject (FAM k) Source Github # | |||||
Defined in Proarrow.Category.Instance.Fam Associated Types
| |||||
| CategoryOf k => CategoryOf (FAM k) Source Github # | The Fam construction a.k.a. the free coproduct completion of | ||||
Defined in Proarrow.Category.Instance.Fam | |||||
| HasBinaryProducts k => HasBinaryProducts (FAM k) Source Github # | |||||
Defined in Proarrow.Category.Instance.Fam Methods withObProd :: forall (a :: FAM k) (b :: FAM k) r. (Ob a, Ob b) => (Ob (a && b) => r) -> r Source Github # fst :: forall (a :: FAM k) (b :: FAM k). (Ob a, Ob b) => (a && b) ~> a Source Github # snd :: forall (a :: FAM k) (b :: FAM k). (Ob a, Ob b) => (a && b) ~> b Source Github # (&&&) :: forall (a :: FAM k) (x :: FAM k) (y :: FAM k). (a ~> x) -> (a ~> y) -> a ~> (x && y) Source Github # (***) :: forall (a :: FAM k) (b :: FAM k) (x :: FAM k) (y :: FAM k). (a ~> x) -> (b ~> y) -> (a && b) ~> (x && y) Source Github # | |||||
| HasTerminalObject k => HasTerminalObject (FAM k) Source Github # | |||||
Defined in Proarrow.Category.Instance.Fam Associated Types
| |||||
| CategoryOf k => Promonad (Fam :: FAM k -> FAM k -> Type) Source Github # | |||||
| CategoryOf k => Profunctor (Fam :: FAM k -> FAM k -> Type) Source Github # | |||||
Defined in Proarrow.Category.Instance.Fam Methods dimap :: forall (c :: FAM k) (a :: FAM k) (b :: FAM k) (d :: FAM k). (c ~> a) -> (b ~> d) -> Fam a b -> Fam c d Source Github # lmap :: forall (c :: FAM k) (a :: FAM k) (b :: FAM k). (c ~> a) -> Fam a b -> Fam c b Source Github # rmap :: forall (b :: FAM k) (d :: FAM k) (a :: FAM k). (b ~> d) -> Fam a b -> Fam a d Source Github # (\\) :: forall (a :: FAM k) (b :: FAM k) r. ((Ob a, Ob b) => r) -> Fam a b -> r Source Github # | |||||
| CategoryOf k => FunctorForRep (IsPresheafSub :: FAM k +-> Presheaf k) Source Github # | |||||
| type (Embed :: k +-> FAM k) @ (a :: k) Source Github # | |||||
| type InitialObject Source Github # | |||||
Defined in Proarrow.Category.Instance.Fam | |||||
| type (~>) Source Github # | |||||
| type TerminalObject Source Github # | |||||
Defined in Proarrow.Category.Instance.Fam | |||||
| type Ob (a :: FAM k) Source Github # | |||||
Defined in Proarrow.Category.Instance.Fam | |||||
| type (a :: FAM k) || (b :: FAM k) Source Github # | |||||
| type (a :: FAM k) && (b :: FAM k) Source Github # | |||||
| type (IsPresheafSub :: FAM k +-> Presheaf k) @ (DEP x dx :: FAM k) Source Github # | |||||
Defined in Proarrow.Category.Instance.Fam | |||||
data Fam (a :: FAM k) (b :: FAM k) where Source Github #
Constructors
| Fam :: forall {k} {x} {y} {dx :: x +-> k} {dy :: y +-> k} (f :: x +-> y). (Representable dx, Representable dy, Representable f) => (dx :~> (dy :.: f)) -> Fam ('DEP_ dx) ('DEP_ dy) |
Instances
| CategoryOf k => Promonad (Fam :: FAM k -> FAM k -> Type) Source Github # | |
| CategoryOf k => Profunctor (Fam :: FAM k -> FAM k -> Type) Source Github # | |
Defined in Proarrow.Category.Instance.Fam Methods dimap :: forall (c :: FAM k) (a :: FAM k) (b :: FAM k) (d :: FAM k). (c ~> a) -> (b ~> d) -> Fam a b -> Fam c d Source Github # lmap :: forall (c :: FAM k) (a :: FAM k) (b :: FAM k). (c ~> a) -> Fam a b -> Fam c b Source Github # rmap :: forall (b :: FAM k) (d :: FAM k) (a :: FAM k). (b ~> d) -> Fam a b -> Fam a d Source Github # (\\) :: forall (a :: FAM k) (b :: FAM k) r. ((Ob a, Ob b) => r) -> Fam a b -> r Source Github # | |
data AsPresheaf (dx :: x +-> k) (a :: k) (u :: ()) where Source Github #
Constructors
| AsPresheaf :: forall {x} {k} (dx :: x +-> k) (a :: k) (b :: x). dx a b -> AsPresheaf dx a '() |
Instances
| (CategoryOf k, Profunctor dx) => Profunctor (AsPresheaf dx :: k -> () -> Type) Source Github # | |
Defined in Proarrow.Category.Instance.Fam Methods dimap :: forall (c :: k) (a :: k) (b :: ()) (d :: ()). (c ~> a) -> (b ~> d) -> AsPresheaf dx a b -> AsPresheaf dx c d Source Github # lmap :: forall (c :: k) (a :: k) (b :: ()). (c ~> a) -> AsPresheaf dx a b -> AsPresheaf dx c b Source Github # rmap :: forall (b :: ()) (d :: ()) (a :: k). (b ~> d) -> AsPresheaf dx a b -> AsPresheaf dx a d Source Github # (\\) :: forall (a :: k) (b :: ()) r. ((Ob a, Ob b) => r) -> AsPresheaf dx a b -> r Source Github # | |
data family IsPresheafSub :: FAM k +-> Presheaf k Source Github #
Instances
| CategoryOf k => FunctorForRep (IsPresheafSub :: FAM k +-> Presheaf k) Source Github # | |
| type (IsPresheafSub :: FAM k +-> Presheaf k) @ (DEP x dx :: FAM k) Source Github # | |
Defined in Proarrow.Category.Instance.Fam | |