File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ with-attributes P :-
2424 att "primitive" bool,
2525 att "non_forgetful_inheritance" bool,
2626 att "hnf" bool,
27+ att "typeclass" bool,
2728 ] Opts, !,
2829 Opts => (save-docstring, P).
2930
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ HB.mixin Record isSigma (T : Type) (P : T -> Prop) (x : T) := {
55 _ : P x
66}.
77
8- #[short(type="sigType"), verbose ]
8+ #[short(type="sigType"), typeclass ]
99HB.structure Definition Sig (T : Type) (P : T -> Prop) := {x of isSigma T P x}.
1010
1111Section Sigma.
@@ -45,7 +45,7 @@ Fail Check x : sigType A P.
4545End Sigma.
4646
4747HB.mixin Record isSigmaT (P : Type -> Prop) (x : Type) := { _ : P x }.
48- #[short(type="sigTType"), verbose ]
48+ #[short(type="sigTType"), typeclass ]
4949HB.structure Definition SigT (P : Type -> Prop) := {x of isSigmaT P x}.
5050
5151Section SigmaT.
You can’t perform that action at this time.
0 commit comments