ITree.Indexed.Sum
Sums of indexed types
Variant sum1 (E1 E2 : Type → Type) (X : Type) : Type :=
| inl1 (_ : E1 X)
| inr1 (_ : E2 X).
Arguments inr1 {E1 E2} [X].
Arguments inl1 {E1 E2} [X].
| inl1 (_ : E1 X)
| inr1 (_ : E2 X).
Arguments inr1 {E1 E2} [X].
Arguments inl1 {E1 E2} [X].
An infix notation for convenience.
The empty indexed type.
This sum type equips the space of indexed functions _ ~> _ with
the structure of a cocartesian category, see Indexed.Function.