diff options
author | ppedrot <ppedrot@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-03-23 15:05:26 +0000 |
---|---|---|
committer | ppedrot <ppedrot@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-03-23 15:05:26 +0000 |
commit | 914d19f19cd73d1794c0160bd6e7358c13eba630 (patch) | |
tree | c60b68ddac62f60f1bef763ba970805d228180ad /library/heads.ml | |
parent | 7bc3e1ce35798d089a979f3cb5a4c5ecc232f850 (diff) |
Minor code cleaning in CArray / CList.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16351 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library/heads.ml')
-rw-r--r-- | library/heads.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/heads.ml b/library/heads.ml index 62e27dd00..e6c9bc9a8 100644 --- a/library/heads.ml +++ b/library/heads.ml @@ -119,7 +119,7 @@ let kind_of_head env t = else (* enough arguments to [cst] *) k,List.skipn n l,List.nth l (i-1) in - let l' = List.tabulate (fun _ -> mkMeta 0) q @ rest in + let l' = List.make q (mkMeta 0) @ rest in aux k' l' a (with_subcase or with_case) | ConstructorHead when with_case -> NotImmediatelyComputableHead | x -> x |