author | wenzelm |
Fri, 06 Jan 2006 15:18:22 +0100 | |
changeset 18593 | 4ce4dba4af07 |
parent 18592 | 451d622bb4a9 |
child 18594 | e0d509b1df1d |
--- a/src/Pure/Tools/class_package.ML Fri Jan 06 15:18:21 2006 +0100 +++ b/src/Pure/Tools/class_package.ML Fri Jan 06 15:18:22 2006 +0100 @@ -423,7 +423,7 @@ OuterSyntax.command instanceK "" K.thy_goal (P.xname -- (P.$$$ "::" |-- P.!!! P.arity) -- Scan.repeat1 P.spec_name - >> (Toplevel.theory_theory_to_proof + >> (Toplevel.theory_to_proof o (fn ((tyco, (asorts, sort)), defs) => add_instance_arity ((tyco, asorts), sort) defs))); val _ = OuterSyntax.add_parsers [classP, instanceP];