partial_function is a declaration command
authorhaftmann
Tue, 26 Oct 2010 14:11:34 +0200
changeset 40186 fe4a58419d46
parent 40185 a6a34e0313bb
child 40187 9b6e918682d5
child 40190 9f82ed60e7ec
partial_function is a declaration command
src/HOL/Tools/Function/partial_function.ML
--- a/src/HOL/Tools/Function/partial_function.ML	Tue Oct 26 14:06:21 2010 +0200
+++ b/src/HOL/Tools/Function/partial_function.ML	Tue Oct 26 14:11:34 2010 +0200
@@ -228,7 +228,7 @@
 val mode = Parse.$$$ "(" |-- Parse.xname --| Parse.$$$ ")";
 
 val _ = Outer_Syntax.local_theory
-  "partial_function" "define partial function" Keyword.thy_goal
+  "partial_function" "define partial function" Keyword.thy_decl
   ((mode -- (Parse.fixes -- (Parse.where_ |-- Parse_Spec.spec)))
      >> (fn (mode, (fixes, spec)) => add_partial_function_cmd mode fixes spec));