src/HOL/HOLCF/Tools/domaindef.ML
changeset 59936 b8ffc3dc9e24
parent 58959 1f195ed99941
child 60754 02924903a6fd
equal deleted inserted replaced
59935:343905de27b1 59936:b8ffc3dc9e24
   207 
   207 
   208 fun mk_domaindef (((((args, t)), mx), A), morphs) =
   208 fun mk_domaindef (((((args, t)), mx), A), morphs) =
   209   domaindef_cmd ((t, args, mx), A, morphs)
   209   domaindef_cmd ((t, args, mx), A, morphs)
   210 
   210 
   211 val _ =
   211 val _ =
   212   Outer_Syntax.command @{command_spec "domaindef"} "HOLCF definition of domains from deflations"
   212   Outer_Syntax.command @{command_keyword domaindef} "HOLCF definition of domains from deflations"
   213     (domaindef_decl >> (Toplevel.theory o mk_domaindef))
   213     (domaindef_decl >> (Toplevel.theory o mk_domaindef))
   214 
   214 
   215 end
   215 end