src/Tools/induct.ML
changeset 55951 c07d184aebe9
parent 54742 7a86358a3c0b
child 55954 a29aefc88c8d
--- a/src/Tools/induct.ML	Thu Mar 06 11:32:16 2014 +0100
+++ b/src/Tools/induct.ML	Thu Mar 06 12:10:19 2014 +0100
@@ -361,7 +361,7 @@
   Scan.lift (Args.$$$ k) >> K "";
 
 fun attrib add_type add_pred del =
-  spec typeN (Args.type_name false) >> add_type ||
+  spec typeN (Args.type_name {proper = false, strict = false}) >> add_type ||
   spec predN (Args.const false) >> add_pred ||
   spec setN (Args.const false) >> add_pred ||
   Scan.lift Args.del >> K del;
@@ -883,7 +883,7 @@
       | NONE => error ("No rule for " ^ k ^ " " ^ quote name))))));
 
 fun rule get_type get_pred =
-  named_rule typeN (Args.type_name false) get_type ||
+  named_rule typeN (Args.type_name {proper = false, strict = false}) get_type ||
   named_rule predN (Args.const false) get_pred ||
   named_rule setN (Args.const false) get_pred ||
   Scan.lift (Args.$$$ ruleN -- Args.colon) |-- Attrib.thms;