diff options
| author | Emilio Jesus Gallego Arias | 2019-11-21 15:38:39 +0100 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2019-11-21 15:38:39 +0100 |
| commit | d016f69818b30b75d186fb14f440b93b0518fc66 (patch) | |
| tree | 32cd948273f79a2c01ad27b4ed0244ea60d7e2f9 /kernel/cooking.ml | |
| parent | b680b06b31c27751a7d551d95839aea38f7fbea1 (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/cooking.ml')
| -rw-r--r-- | kernel/cooking.ml | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kernel/cooking.ml b/kernel/cooking.ml index fae06f7163..9d7387c7ad 100644 --- a/kernel/cooking.ml +++ b/kernel/cooking.ml @@ -91,25 +91,25 @@ let expmod_constr cache modlist c = let rec substrec c = match kind c with | Case (ci,p,t,br) -> - Constr.map substrec (mkCase (update_case_info ci modlist,p,t,br)) + Constr.map substrec (mkCase (update_case_info ci modlist,p,t,br)) | Ind (ind,u) -> - (try - share_univs (IndRef ind) u modlist - with - | Not_found -> Constr.map substrec c) + (try + share_univs (IndRef ind) u modlist + with + | Not_found -> Constr.map substrec c) | Construct (cstr,u) -> - (try - share_univs (ConstructRef cstr) u modlist - with - | Not_found -> Constr.map substrec c) + (try + share_univs (ConstructRef cstr) u modlist + with + | Not_found -> Constr.map substrec c) | Const (cst,u) -> - (try - share_univs (ConstRef cst) u modlist - with - | Not_found -> Constr.map substrec c) + (try + share_univs (ConstRef cst) u modlist + with + | Not_found -> Constr.map substrec c) | Proj (p, c') -> let map cst npars = |
