From d9f9673d90371ead668863221c1202de49ab1782 Mon Sep 17 00:00:00 2001 From: ppedrot Date: Fri, 14 Dec 2012 11:05:35 +0000 Subject: Moved Stringset and Stringmap to String namespace. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16068 85f007b7-540e-0410-9357-904b9bb8a0f7 --- library/summary.ml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'library/summary.ml') diff --git a/library/summary.ml b/library/summary.ml index af5af37f1..a31f61c31 100644 --- a/library/summary.ml +++ b/library/summary.ml @@ -36,12 +36,12 @@ let internal_declare_summary sumname sdecl = let declare_summary sumname decl = internal_declare_summary (sumname^"-SUMMARY") decl -type frozen = Dyn.t Stringmap.t +type frozen = Dyn.t String.Map.t let freeze_summaries () = - let m = ref Stringmap.empty in + let m = ref String.Map.empty in Hashtbl.iter - (fun id decl -> m := Stringmap.add id (decl.freeze_function()) !m) + (fun id decl -> m := String.Map.add id (decl.freeze_function()) !m) summaries; !m @@ -49,7 +49,7 @@ let freeze_summaries () = let unfreeze_summaries fs = Hashtbl.iter (fun id decl -> - try decl.unfreeze_function (Stringmap.find id fs) + try decl.unfreeze_function (String.Map.find id fs) with Not_found -> decl.init_function()) summaries -- cgit v1.2.3