diff options
| author | letouzey | 2001-10-25 16:39:12 +0000 |
|---|---|---|
| committer | letouzey | 2001-10-25 16:39:12 +0000 |
| commit | 3b55f30c04858c24a3f9ae402a49a5a738273ecb (patch) | |
| tree | 0ac9e95e8a2d904d1964f5713f217984d31587a1 | |
| parent | 668075356a3239ad0d7490c3dd88c0108bb714ee (diff) | |
correctif bug des de Bruijn du Double Case
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2140 85f007b7-540e-0410-9357-904b9bb8a0f7
| -rw-r--r-- | contrib/extraction/mlutil.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/extraction/mlutil.ml b/contrib/extraction/mlutil.ml index 7149d27787..3e4a0f0659 100644 --- a/contrib/extraction/mlutil.ml +++ b/contrib/extraction/mlutil.ml @@ -296,10 +296,10 @@ let rec betaiota = function (function | (n, i, MLcons (r,a))-> let (_,ids,c) = br.(constructor_index r) in - let c = ml_lift (List.length i) c in - let c' = List.fold_right + let c = List.fold_right (fun id t -> MLlam (id,t)) ids c in - (n,i,betaiota (MLapp (c',a))) + let c = ml_lift (List.length i) c in + (n,i,betaiota (MLapp (c,a))) | _ -> assert false) br' in MLcase(e', new_br) | e' -> |
