src/Pure/type.ML
changeset 1239 2c0d94151e74
parent 1215 a206f722bef9
child 1257 ec738ecb911c
--- a/src/Pure/type.ML	Fri Sep 01 13:11:09 1995 +0200
+++ b/src/Pure/type.ML	Fri Sep 01 13:13:19 1995 +0200
@@ -38,7 +38,7 @@
   val subsort: type_sig -> sort * sort -> bool
   val norm_sort: type_sig -> sort -> sort
   val rem_sorts: typ -> typ
-  val nonempty_sort: type_sig -> (string * sort) list -> sort -> bool
+  val nonempty_sort: type_sig -> sort list -> sort -> bool
   val cert_typ: type_sig -> typ -> typ
   val norm_typ: type_sig -> typ -> typ
   val freeze: term -> term
@@ -406,7 +406,7 @@
 fun nonempty_sort _ _ [] = true
   | nonempty_sort (tsig as TySg {arities, ...}) hyps S =
       exists (exists (fn (c, ss) => [c] = S andalso null ss) o snd) arities
-        orelse exists (fn (_, S') => subsort tsig (S', S)) hyps;
+        orelse exists (fn S' => subsort tsig (S', S)) hyps;