diff options
author | 2001-12-21 12:27:29 +0000 | |
---|---|---|
committer | 2001-12-21 12:27:29 +0000 | |
commit | 8e8e5aaa7320c56dc7128f92a72669c0be684e78 (patch) | |
tree | 2bc7736950e4c55f9302c7b8e6bb8783881fe5df /contrib/extraction/haskell.ml | |
parent | c51c32b09cbdad951c55c7f7dd5f47b6657d32a8 (diff) |
maj CHANGES extraction + bug extraction & _
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2359 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'contrib/extraction/haskell.ml')
-rw-r--r-- | contrib/extraction/haskell.ml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/extraction/haskell.ml b/contrib/extraction/haskell.ml index fcba0fcb5..cda6e4a9c 100644 --- a/contrib/extraction/haskell.ml +++ b/contrib/extraction/haskell.ml @@ -102,7 +102,9 @@ let rec pp_expr par env args = in function | MLrel n -> - apply (pr_id (get_db_name n env)) + let id = get_db_name n env in + apply (if string_of_id id = "_" then str "prop" else pr_id id) + (* HACK, should disappear soon *) | MLapp (f,args') -> let stl = List.map (pp_expr true env []) args' in pp_expr par env (stl @ args) f |