diff options
| author | herbelin | 2006-04-27 19:37:33 +0000 |
|---|---|---|
| committer | herbelin | 2006-04-27 19:37:33 +0000 |
| commit | 61d11c649b4cd68e92861e2fea86f6c6a6b5bb6a (patch) | |
| tree | ff162856b856b8fa11ac367ecf9bfa4a9de29034 /contrib/extraction | |
| parent | 2ec958c3c8d2942242837787a3941abb14702b5c (diff) | |
Standardisation nom option_app en option_map
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@8752 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'contrib/extraction')
| -rw-r--r-- | contrib/extraction/common.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/extraction/common.ml b/contrib/extraction/common.ml index 2b713c5149..1d1383f60f 100644 --- a/contrib/extraction/common.ml +++ b/contrib/extraction/common.ml @@ -401,7 +401,7 @@ let print_structure_to_file f prm struc = else struct_ast_search (function MLmagic _ -> true | _ -> false) struc in (* print the implementation *) - let cout = option_app (fun (f,_) -> open_out f) f in + let cout = option_map (fun (f,_) -> open_out f) f in let ft = match cout with | None -> !Pp_control.std_ft | Some cout -> Pp_control.with_output_to cout in |
