Commented and renamed vars in readtm
authorpaulson
Fri, 08 Dec 1995 10:23:29 +0100
changeset 1390 bf523422a3df
parent 1389 fbe857ddc80d
child 1391 893e8d93a54c
Commented and renamed vars in readtm
src/Pure/section_utils.ML
--- a/src/Pure/section_utils.ML	Thu Dec 07 18:36:33 1995 +0100
+++ b/src/Pure/section_utils.ML	Fri Dec 08 10:23:29 1995 +0100
@@ -24,9 +24,10 @@
 (*Read an assumption in the given theory*)
 fun assume_read thy a = assume (read_cterm (sign_of thy) (a,propT));
 
-fun readtm sign T a = 
-    read_cterm sign (a,T) |> term_of
-    handle ERROR => error ("The error above occurred for " ^ a);
+(*Read a term from string "b", with expected type T*)
+fun readtm sign T b = 
+    read_cterm sign (b,T) |> term_of
+    handle ERROR => error ("The error above occurred for " ^ b);
 
 (*From HOL/ex/meson.ML: raises exception if no rules apply -- unlike RL*)
 fun tryres (th, rl::rls) = (th RS rl handle THM _ => tryres(th,rls))