src/Pure/Isar/local_theory.ML
changeset 56809 b60009672a65
parent 56723 a8f71445c265
child 57194 d110b0d1bc12
--- a/src/Pure/Isar/local_theory.ML	Thu May 01 09:30:33 2014 +0200
+++ b/src/Pure/Isar/local_theory.ML	Thu May 01 09:30:34 2014 +0200
@@ -256,7 +256,6 @@
 
 fun operation f lthy = f (operations_of lthy) lthy;
 fun operation2 f x y = operation (fn ops => f ops x y);
-fun operation3 f x y z = operation (fn ops => f ops x y z);
 
 val pretty = operation #pretty;
 val abbrev = operation2 #abbrev;
@@ -264,7 +263,8 @@
 val define_internal = operation2 #define true;
 val notes_kind = operation2 #notes;
 val declaration = operation2 #declaration;
-val subscription = operation3 #subscription;
+fun subscription dep_morph mixin export =
+  assert_bottom true #> operation (fn ops => #subscription ops dep_morph mixin export);
 
 
 (* basic derived operations *)