aboutsummaryrefslogtreecommitdiff
path: root/kernel/declareops.ml
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-11-21 15:38:39 +0100
committerEmilio Jesus Gallego Arias2019-11-21 15:38:39 +0100
commitd016f69818b30b75d186fb14f440b93b0518fc66 (patch)
tree32cd948273f79a2c01ad27b4ed0244ea60d7e2f9 /kernel/declareops.ml
parentb680b06b31c27751a7d551d95839aea38f7fbea1 (diff)
[coq] Untabify the whole ML codebase.
We also remove trailing whitespace. Script used: ```bash for i in `find . -name '*.ml' -or -name '*.mli' -or -name '*.mlg'`; do expand -i "$i" | sponge "$i"; sed -e's/[[:space:]]*$//' -i.bak "$i"; done ```
Diffstat (limited to 'kernel/declareops.ml')
-rw-r--r--kernel/declareops.ml12
1 files changed, 6 insertions, 6 deletions
diff --git a/kernel/declareops.ml b/kernel/declareops.ml
index 7225671a1e..35185b6a5e 100644
--- a/kernel/declareops.ml
+++ b/kernel/declareops.ml
@@ -31,14 +31,14 @@ let safe_flags oracle = {
(** {6 Arities } *)
-let subst_decl_arity f g sub ar =
+let subst_decl_arity f g sub ar =
match ar with
- | RegularArity x ->
- let x' = f sub x in
+ | RegularArity x ->
+ let x' = f sub x in
if x' == x then ar
else RegularArity x'
- | TemplateArity x ->
- let x' = g sub x in
+ | TemplateArity x ->
+ let x' = g sub x in
if x' == x then ar
else TemplateArity x'
@@ -197,7 +197,7 @@ let subst_wf_paths sub p = Rtree.Smart.map (subst_recarg sub) p
let subst_regular_ind_arity sub s =
let uar' = subst_mps sub s.mind_user_arity in
- if uar' == s.mind_user_arity then s
+ if uar' == s.mind_user_arity then s
else { mind_user_arity = uar'; mind_sort = s.mind_sort }
let subst_template_ind_arity _sub s = s