File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ with-attributes P :-
24
24
att "primitive" bool,
25
25
att "non_forgetful_inheritance" bool,
26
26
att "hnf" bool,
27
+ att "typeclass" bool,
27
28
] Opts, !,
28
29
Opts => (save-docstring, P).
29
30
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) := {
5
5
_ : P x
6
6
}.
7
7
8
- #[short(type="sigType"), verbose ]
8
+ #[short(type="sigType"), typeclass ]
9
9
HB.structure Definition Sig (T : Type) (P : T -> Prop) := {x of isSigma T P x}.
10
10
11
11
Section Sigma.
@@ -45,7 +45,7 @@ Fail Check x : sigType A P.
45
45
End Sigma.
46
46
47
47
HB.mixin Record isSigmaT (P : Type -> Prop) (x : Type) := { _ : P x }.
48
- #[short(type="sigTType"), verbose ]
48
+ #[short(type="sigTType"), typeclass ]
49
49
HB.structure Definition SigT (P : Type -> Prop) := {x of isSigmaT P x}.
50
50
51
51
Section SigmaT.
You can’t perform that action at this time.
0 commit comments