tuned
authorhaftmann
Mon, 22 Nov 2010 09:18:25 +0100
changeset 40629 f276d46d4ec0
parent 40628 1b1484c3b163
child 40630 3b5c31e55540
tuned
src/Tools/Code/code_namespace.ML
--- a/src/Tools/Code/code_namespace.ML	Sat Nov 20 01:07:16 2010 +0100
+++ b/src/Tools/Code/code_namespace.ML	Mon Nov 22 09:18:25 2010 +0100
@@ -120,8 +120,7 @@
       end;
     val name_tabs = AList.make (uncurry classify_names o Graph.get_node flat_program)
       (Graph.keys flat_program);
-    val deresolver_tab = Symtab.empty
-      |> fold (fn (module_name, name_tab) => Symtab.update (module_name, name_tab)) name_tabs;
+    val deresolver_tab = fold Symtab.update name_tabs Symtab.empty;
     fun deresolver module_name name =
       the (Symtab.lookup (the (Symtab.lookup deresolver_tab module_name)) name)
       handle Option => error ("Unknown statement name: " ^ labelled_name name);