src/Pure/Isar/element.ML
changeset 60444 9945378d1ee7
parent 60415 9d37b2330ee3
child 60446 64f48e7f921f
--- a/src/Pure/Isar/element.ML	Thu Jun 11 10:03:54 2015 +0200
+++ b/src/Pure/Isar/element.ML	Thu Jun 11 10:44:04 2015 +0200
@@ -7,9 +7,10 @@
 
 signature ELEMENT =
 sig
+  type ('typ, 'term) obtain = binding * ((binding * 'typ option) list * 'term list)
   datatype ('typ, 'term) stmt =
     Shows of (Attrib.binding * ('term * 'term list) list) list |
-    Obtains of (binding * ((binding * 'typ option) list * 'term list)) list
+    Obtains of ('typ, 'term) obtain list
   type statement = (string, string) stmt
   type statement_i = (typ, term) stmt
   datatype ('typ, 'term, 'fact) ctxt =
@@ -61,9 +62,10 @@
 
 (* statement *)
 
+type ('typ, 'term) obtain = binding * ((binding * 'typ option) list * 'term list);
 datatype ('typ, 'term) stmt =
   Shows of (Attrib.binding * ('term * 'term list) list) list |
-  Obtains of (binding * ((binding * 'typ option) list * 'term list)) list;
+  Obtains of ('typ, 'term) obtain list;
 
 type statement = (string, string) stmt;
 type statement_i = (typ, term) stmt;