diff options
author | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2003-04-16 22:23:58 +0000 |
---|---|---|
committer | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2003-04-16 22:23:58 +0000 |
commit | 8568214f1b7950fe9c5d95c04e851c00f49751ce (patch) | |
tree | 91d2fe6ba491c2e7df9ef28eccffcfe37fd286da /pretyping/cbv.ml | |
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 'pretyping/cbv.ml')
-rw-r--r-- | pretyping/cbv.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pretyping/cbv.ml b/pretyping/cbv.ml index d1d9206fa..2599e2958 100644 --- a/pretyping/cbv.ml +++ b/pretyping/cbv.ml @@ -273,7 +273,7 @@ and cbv_stack_term info stack env t = (* constructor in a Case -> IOTA *) | (CONSTR((sp,n),_), APP(args,CASE(_,br,ci,env,stk))) when red_set (info_flags info) fIOTA -> - let real_args = snd (list_chop ci.ci_npar args) in + let real_args = list_skipn ci.ci_npar args in cbv_stack_term info (stack_app real_args stk) env br.(n-1) (* constructor of arity 0 in a Case -> IOTA *) |