src/Pure/Isar/code.ML
changeset 30513 1796b8ea88aa
parent 30357 77c3f2135a0f
child 30528 7173bf123335
--- a/src/Pure/Isar/code.ML	Fri Mar 13 21:24:21 2009 +0100
+++ b/src/Pure/Isar/code.ML	Fri Mar 13 21:25:15 2009 +0100
@@ -44,7 +44,7 @@
   val postprocess_conv: theory -> cterm -> thm
   val postprocess_term: theory -> term -> term
 
-  val add_attribute: string * (Args.T list -> attribute * Args.T list) -> theory -> theory
+  val add_attribute: string * attribute parser -> theory -> theory
 
   val print_codesetup: theory -> unit
 end;
@@ -83,7 +83,7 @@
 (** code attributes **)
 
 structure CodeAttr = TheoryDataFun (
-  type T = (string * (Args.T list -> attribute * Args.T list)) list;
+  type T = (string * attribute parser) list;
   val empty = [];
   val copy = I;
   val extend = I;