ITree.Basics.Function
The name of the category.
The identity function, but can sometimes help type inference.
Extensional function equality
Identity function
Function composition
void as an initial object.
unit as a final object.
#[global] Instance case_sum : Case Fun sum :=
fun {A B C} (f : A → C) (g : B → C) (x : A + B) ⇒
match x with
| inl a ⇒ f a
| inr b ⇒ g b
end.
fun {A B C} (f : A → C) (g : B → C) (x : A + B) ⇒
match x with
| inl a ⇒ f a
| inr b ⇒ g b
end.
Injections