File tree Expand file tree Collapse file tree 7 files changed +17
-17
lines changed
Expand file tree Collapse file tree 7 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -48,12 +48,12 @@ Module Type Runtime.
4848 Parameter runtime_div : Z -> Z -> Z.
4949 Parameter runtime_modulo : Z -> Z -> Z.
5050 Parameter runtime_opp : Z -> Z.
51- Arguments runtime_add (_ _)%RT .
52- Arguments runtime_sub (_ _)%RT .
53- Arguments runtime_mul (_ _)%RT .
54- Arguments runtime_div _%RT _%Z .
55- Arguments runtime_modulo _%RT _%Z .
56- Arguments runtime_opp _%RT .
51+ Arguments runtime_add (_ _)%_RT .
52+ Arguments runtime_sub (_ _)%_RT .
53+ Arguments runtime_mul (_ _)%_RT .
54+ Arguments runtime_div _%_RT _%_Z .
55+ Arguments runtime_modulo _%_RT _%_Z .
56+ Arguments runtime_opp _%_RT .
5757 Infix "*" := runtime_mul : runtime_scope.
5858 Infix "+" := runtime_add : runtime_scope.
5959 Infix "-" := runtime_sub : runtime_scope.
Original file line number Diff line number Diff line change @@ -421,7 +421,7 @@ Module Pipeline.
421421 | Success x => k x
422422 | Error err => Debug.ret (Error err)
423423 end )%debugM.
424- Global Arguments bind {A B}%type_scope (x k)%pipelineM_scope .
424+ Global Arguments bind {A B}%_type_scope (x k)%_pipelineM_scope .
425425 Notation sequence x y := (@bind unit _ x%pipelineM (fun 'tt => y%pipelineM)).
426426 Notation ret x := (@Debug.ret string _ (@Success ErrorMessage _ x)).
427427 Notation err msg := (@Debug.ret string _ (@Error ErrorMessage _ msg)).
Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ Module Compilers.
379379 Delimit Scope ident_scope with ident.
380380 Bind Scope ident_scope with ident.
381381 Notation interp := Compilers.ident_interp (only parsing).
382- Global Arguments expr.Ident {base_type%type ident%function var%function t%etype } idc%ident .
382+ Global Arguments expr.Ident {base_type%_type ident%_function var%_function t%_etype } idc%_ident .
383383 Notation "## x" := (Compilers.ident_Literal x) (only printing) : ident_scope.
384384 Notation "## x" := (Compilers.ident_Literal (t:=base.reify_base_type_of x) x) (only parsing) : ident_scope.
385385 Notation "## x" := (expr.Ident (Compilers.ident_Literal x)) (only printing) : expr_scope.
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ From Coq Require Import BinNat.
1111Local Open Scope type_scope.
1212
1313Class Decidable (P : Prop) := dec : {P} + {~P}.
14- Arguments dec _%type_scope {_}.
14+ Arguments dec _%_type_scope {_}.
1515Notation DecidableRel R := (forall x y, Decidable (R x y)).
1616
1717Global Instance hprop_eq_dec {A} `{DecidableRel (@eq A)} : IsHPropRel (@eq A) | 10.
Original file line number Diff line number Diff line change @@ -56,14 +56,14 @@ Definition not_option_pointed_Prop (x : option pointed_Prop) : option pointed_Pr
5656 | None => Some trivial
5757 | Some (inject p) => Some (inject (~p))
5858 end .
59- Arguments not_option_pointed_Prop _%option_pointed_prop .
59+ Arguments not_option_pointed_Prop _%_option_pointed_prop .
6060
6161Definition and_option_pointed_Prop (x y : option pointed_Prop) : option pointed_Prop
6262 := match x, y with
6363 | Some x, Some y => Some (and_pointed_Prop x y)
6464 | _, _ => None
6565 end .
66- Arguments and_option_pointed_Prop (_ _)%option_pointed_prop .
66+ Arguments and_option_pointed_Prop (_ _)%_option_pointed_prop .
6767
6868Definition or_option_pointed_Prop (x y : option pointed_Prop) : option pointed_Prop
6969 := match x, y with
@@ -72,15 +72,15 @@ Definition or_option_pointed_Prop (x y : option pointed_Prop) : option pointed_P
7272 | None, Some y => Some y
7373 | None, None => None
7474 end .
75- Arguments or_option_pointed_Prop (_ _)%option_pointed_prop .
75+ Arguments or_option_pointed_Prop (_ _)%_option_pointed_prop .
7676
7777Definition impl_option_pointed_Prop (x y : option pointed_Prop) : option pointed_Prop
7878 := match x, y with
7979 | None, _ => Some trivial
8080 | Some x, Some y => Some (impl_pointed_Prop x y)
8181 | Some p, None => not_option_pointed_Prop p
8282 end .
83- Arguments impl_option_pointed_Prop (_ _)%option_pointed_prop .
83+ Arguments impl_option_pointed_Prop (_ _)%_option_pointed_prop .
8484
8585Infix "/\" := and_pointed_Prop : pointed_prop_scope.
8686Infix "\/" := or_pointed_Prop : pointed_prop_scope.
Original file line number Diff line number Diff line change @@ -373,8 +373,8 @@ for fixn in range(1, 11):
373373 Definition Fix%(fixn)d_Proper_eq_with_assumption : Fix%(fixn)d_Proper_eq_with_assumption'T := Fix%(fixn)d_Proper_eq_with_assumption'.
374374End Fix%(fixn)d.
375375
376- Arguments Fix%(fixn)d_Proper_eq {%(letters)s R Rwf P} %(fix_underscores)s.
377- Arguments Fix%(fixn)d_Proper_eq_with_assumption {%(letters)s R Rwf P} _ _ %(fix_underscores)s.
376+ Arguments Fix%_ (fixn)d_Proper_eq {%_ (letters)s R Rwf P} %_ (fix_underscores)s.
377+ Arguments Fix%_ (fixn)d_Proper_eq_with_assumption {%_ (letters)s R Rwf P} _ _ %_ (fix_underscores)s.
378378Global Existing Instance Fix%(fixn)d_Proper_eq.
379379Global Existing Instance Fix%(fixn)d_Proper_eq_with_assumption.
380380""" % locals())
Original file line number Diff line number Diff line change @@ -576,8 +576,8 @@ for fixn in range(1, 11):
576576 Definition Fix%(fixn)d_2_%(fixn)d_eq : Fix%(fixn)d_2_%(fixn)d_eq'T := Fix%(fixn)d_2_%(fixn)d_eq'.
577577End Fix2_%(fixn)d.
578578
579- Arguments Fix2_%(fixn)d_Proper_eq {A A' %(letters)s R Rwf P} %(fix_underscores)s.
580- Arguments Fix2_%(fixn)d_Proper_eq_with_assumption {A A' %(letters)s R Rwf P} _ _ %(fix_underscores)s.
579+ Arguments Fix2_%_ (fixn)d_Proper_eq {A A' %_ (letters)s R Rwf P} %_ (fix_underscores)s.
580+ Arguments Fix2_%_ (fixn)d_Proper_eq_with_assumption {A A' %_ (letters)s R Rwf P} _ _ %_ (fix_underscores)s.
581581Global Existing Instance Fix2_%(fixn)d_Proper_eq.
582582Global Existing Instance Fix2_%(fixn)d_Proper_eq_with_assumption.
583583""" % locals())
You can’t perform that action at this time.
0 commit comments