src/Pure/Isar/proof.ML
changeset 58796 cc5a9a54d340
parent 58011 bc6bced136e5
child 58797 6d71f19a9fd6
--- a/src/Pure/Isar/proof.ML	Tue Oct 28 09:20:07 2014 +0100
+++ b/src/Pure/Isar/proof.ML	Tue Oct 28 09:32:18 2014 +0100
@@ -175,9 +175,9 @@
 fun init ctxt =
   State (Stack.init (make_node (init_context ctxt, NONE, Forward, NONE)));
 
-fun top (State st) = Stack.top st |> (fn Node node => node);
-fun map_top f (State st) = State (Stack.map_top (map_node f) st);
-fun map_all f (State st) = State (Stack.map_all (map_node f) st);
+fun top (State stack) = Stack.top stack |> (fn Node node => node);
+fun map_top f (State stack) = State (Stack.map_top (map_node f) stack);
+fun map_all f (State stack) = State (Stack.map_all (map_node f) stack);
 
 
 
@@ -185,12 +185,12 @@
 
 (* block structure *)
 
-fun open_block (State st) = State (Stack.push st);
+fun open_block (State stack) = State (Stack.push stack);
 
-fun close_block (State st) = State (Stack.pop st)
+fun close_block (State stack) = State (Stack.pop stack)
   handle List.Empty => error "Unbalanced block parentheses";
 
-fun level (State st) = Stack.level st;
+fun level (State stack) = Stack.level stack;
 
 fun assert_bottom b state =
   let val b' = level state <= 2 in