aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorletouzey2002-03-20 08:48:57 +0000
committerletouzey2002-03-20 08:48:57 +0000
commitb360a6d7c86a5b79d995b642b7208353bae42ae1 (patch)
tree1e939e5cdbd82e89122137751581925ced4ddd80
parent554f64dc5c7d5ab13172451cea21333b5eac6425 (diff)
un peu moins d'eta-expansion autour des Glob
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2549 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--contrib/extraction/extraction.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/extraction/extraction.ml b/contrib/extraction/extraction.ml
index 37b8b4492e..cfd4e33faa 100644
--- a/contrib/extraction/extraction.ml
+++ b/contrib/extraction/extraction.ml
@@ -263,7 +263,7 @@ let prop_abstract f =
(*s Abstraction of an constant. *)
let abstract_constant sp s =
- if s = [] then MLglob (ConstRef sp)
+ if List.for_all ((=) default) s then MLglob (ConstRef sp)
else
let f a =
if List.mem default s then MLapp (MLglob (ConstRef sp), a)