diff options
author | 2010-04-16 14:13:00 +0000 | |
---|---|---|
committer | 2010-04-16 14:13:00 +0000 | |
commit | e960cd8dac76829f3a48167e70a23c65d8dd797f (patch) | |
tree | 6a4612192d654046872255f98bacf984da949288 /library/impargs.ml | |
parent | f57a38bb53dc06cef1cee78c60946aa5e6d3cf0b (diff) |
Util: remove list_split_at which is a clone of list_chop
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12939 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library/impargs.ml')
-rw-r--r-- | library/impargs.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/impargs.ml b/library/impargs.ml index fead921a5..b53b2a89d 100644 --- a/library/impargs.ml +++ b/library/impargs.ml @@ -415,9 +415,9 @@ let compute_global_implicits flags manual = function let merge_impls oldimpls newimpls = let (before, news), olds = let len = List.length newimpls - List.length oldimpls in - if len >= 0 then list_split_at len newimpls, oldimpls + if len >= 0 then list_chop len newimpls, oldimpls else - let before, after = list_split_at (-len) oldimpls in + let before, after = list_chop (-len) oldimpls in (before, newimpls), after in before @ (List.map2 (fun orig ni -> |