Skip to content

Commit

Permalink
Merge pull request #1579 from Alizter/default-arg-names
Browse files Browse the repository at this point in the history
argument names for is1functor_compose
  • Loading branch information
mikeshulman authored Sep 22, 2021
2 parents 5cdd8b5 + 47e7794 commit d7b4306
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions theories/WildCat/Core.v
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,18 @@ Section CompositeFunctor.

End CompositeFunctor.

(** We give all arguments names in order to refer to them later. This allows us to write things like [is0functor (isgraph_A := _)] without having to make all the variables explicit. *)
Arguments is0functor_compose {A B C} {isgraph_A isgraph_B isgraph_C}
F {is0functor_F} G {is0functor_G} : rename.

Arguments is1functor_compose {A B C}
{isgraph_A is2graph_A is01cat_A is1cat_A
isgraph_B is2graph_B is01cat_B is1cat_B
isgraph_C is2graph_C is01cat_C is1cat_C}
F {is0functor_F} {is1functor_F}
G {is0functor_G} {is1functor_G}
: rename.

(** ** Wild 1-groupoids *)

Class Is1Gpd (A : Type) `{Is1Cat A, !Is0Gpd A} :=
Expand Down

0 comments on commit d7b4306

Please sign in to comment.