You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Definition tmQuoteSort@{U t u} : TemplateMonad@{t u} sort
208
+
Definition tmQuoteSort@{U t u} : TemplateMonad@{_; t u} sort
217
209
:= p <- @tmQuote Prop (Type@{U} -> True);;
218
210
match p with
219
211
| tProd _ (tSort s) _ => ret s
220
212
| _ => tmFail "Anomaly: tmQuote (Type -> True) should be (tProd _ (tSort _) _)!"%bs
221
213
end.
222
-
Definition tmQuoteUniverse@{U t u} : TemplateMonad@{t u} Universe.t
214
+
Definition tmQuoteUniverse@{U t u} : TemplateMonad@{_; t u} Universe.t
223
215
:= s <- @tmQuoteSort@{U t u};;
224
216
match s with
225
217
| sType u => ret u
226
218
| _ => tmFail "Sort does not carry a universe (is not Type)"%bs
227
219
end.
228
-
Definition tmQuoteLevel@{U t u} : TemplateMonad@{t u} Level.t
220
+
Definition tmQuoteLevel@{U t u} : TemplateMonad@{_; t u} Level.t
229
221
:= u <- tmQuoteUniverse@{U t u};;
230
222
matchUniverse.get_is_level u with
231
223
| Some l => ret l
232
224
| None => tmFail "Universe is not a level"%bs
233
225
end.
234
226
235
-
Definition tmFix'@{a b t u} {A : Type@{a}} {B : Type@{b}} (qtmFix' : Ast.term) (f : (A -> TemplateMonad@{t u} B) -> (A -> TemplateMonad@{t u} B)) : A -> TemplateMonad@{t u} B
227
+
Definition tmFix'@{a b t u} {A : Type@{a}} {B : Type@{b}} (qtmFix' : Ast.term) (f : (A -> TemplateMonad@{_; t u} B) -> (A -> TemplateMonad@{_; t u} B)) : A -> TemplateMonad@{_; t u} B
236
228
:= f (fun a
237
-
=> tmFix <- tmUnquoteTyped (Ast.term -> ((A -> TemplateMonad@{t u} B) -> (A -> TemplateMonad@{t u} B)) -> A -> TemplateMonad@{t u} B) qtmFix';;
229
+
=> tmFix <- tmUnquoteTyped (Ast.term -> ((A -> TemplateMonad@{_; t u} B) -> (A -> TemplateMonad@{_; t u} B)) -> A -> TemplateMonad@{_; t u} B) qtmFix';;
238
230
tmFix qtmFix' f a).
239
-
Definition tmFix@{a b t u} {A : Type@{a}} {B : Type@{b}} (f : (A -> TemplateMonad@{t u} B) -> (A -> TemplateMonad@{t u} B)) : A -> TemplateMonad@{t u} B
231
+
Definition tmFix@{a b t u} {A : Type@{a}} {B : Type@{b}} (f : (A -> TemplateMonad@{_; t u} B) -> (A -> TemplateMonad@{_; t u} B)) : A -> TemplateMonad@{_; t u} B
0 commit comments