Skip to content

Commit

Permalink
Categories/LaxComma/Core: add Set annotation to silence warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jdchristensen committed Sep 18, 2023
1 parent 0f828c4 commit 7bb620c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions theories/Categories/LaxComma/Core.v
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ Module Export LaxCommaCoreNotations.
(** We play some games to get nice notations for lax comma categories. *)
Section tc_notation_boiler_plate.
Local Open Scope type_scope.
Class LCC_Builder {A B C} (x : A) (y : B) (z : C) := lcc_builder_dummy : True.
Class LCC_Builder {A B C} (x : A) (y : B) (z : C) : Set := lcc_builder_dummy : True.
Definition get_LCC `{@LCC_Builder A B C x y z} : C := z.

Global Arguments get_LCC / {A B C} x y {z} {_}.
Expand Down Expand Up @@ -210,7 +210,7 @@ Module Export LaxCommaCoreNotations.
: LCC_Builder (@sub_pre_cat _ P HF) a (@lax_coslice_category_over _ P HF a _) | 10
:= I.

Class OLCC_Builder {A B C} (x : A) (y : B) (z : C) := olcc_builder_dummy : True.
Class OLCC_Builder {A B C} (x : A) (y : B) (z : C) : Set := olcc_builder_dummy : True.

Definition get_OLCC `{@OLCC_Builder A B C x y z} : C := z.

Expand Down

0 comments on commit 7bb620c

Please sign in to comment.