fixed comment;
authorwenzelm
Mon, 19 Nov 2001 20:46:38 +0100
changeset 12241 c4a2a0686238
parent 12240 0760eda193c4
child 12242 282a92bc5655
fixed comment; goal: unbind if multiple statements;
src/Pure/Isar/auto_bind.ML
--- a/src/Pure/Isar/auto_bind.ML	Mon Nov 19 20:46:05 2001 +0100
+++ b/src/Pure/Isar/auto_bind.ML	Mon Nov 19 20:46:38 2001 +0100
@@ -4,9 +4,6 @@
     License:    GPL (GNU GENERAL PUBLIC LICENSE)
 
 Logic specific patterns and automatic term bindings.
-
-Note: the current implementation is not quite 'generic', but works
-fine with common object-logics (HOL, FOL, ZF etc.).
 *)
 
 signature AUTO_BIND =
@@ -32,7 +29,8 @@
 
 (* goal *)
 
-fun goal sg props = statement_binds sg thesisN (Library.last_elem props);
+fun goal sg [prop] = statement_binds sg thesisN prop
+  | goal _ _ = [((thesisN, 0), None)];
 
 
 (* facts *)