diff options
| author | letouzey | 2003-04-16 22:23:58 +0000 |
|---|---|---|
| committer | letouzey | 2003-04-16 22:23:58 +0000 |
| commit | 8568214f1b7950fe9c5d95c04e851c00f49751ce (patch) | |
| tree | 91d2fe6ba491c2e7df9ef28eccffcfe37fd286da /interp | |
| parent | 391605f6195f92603ca960014db302dc79e6d24f (diff) | |
simplification: fst (list_chop n l) = firstn n l et snd (list_chop n l) = list_skipn n l
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3931 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'interp')
| -rw-r--r-- | interp/constrextern.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interp/constrextern.ml b/interp/constrextern.ml index d07934f7dd..75f8e7abc4 100644 --- a/interp/constrextern.ml +++ b/interp/constrextern.ml @@ -182,7 +182,7 @@ let rec skip_coercion dest_ref (f,args as app) = | Some n -> if n >= List.length args then app else (* We skip a coercion *) - let _,fargs = list_chop n args in + let fargs = list_skipn n args in skip_coercion dest_ref (List.hd fargs,List.tl fargs) | None -> app) | None -> app |
