ProgTutorial/Package/simple_inductive_package.ML
changeset 401 36d61044f9bf
parent 394 0019ebf76e10
child 418 1d1e4cda8c54
equal deleted inserted replaced
400:7675427e311f 401:36d61044f9bf
    20 
    20 
    21 (* @chunk make_definitions *) 
    21 (* @chunk make_definitions *) 
    22 fun make_defs ((binding, syn), trm) lthy =
    22 fun make_defs ((binding, syn), trm) lthy =
    23 let 
    23 let 
    24   val arg = ((binding, syn), (Attrib.empty_binding, trm))
    24   val arg = ((binding, syn), (Attrib.empty_binding, trm))
    25   val ((_, (_ , thm)), lthy) = Local_Theory.define "" arg lthy
    25   val ((_, (_ , thm)), lthy) = Local_Theory.define arg lthy
    26 in 
    26 in 
    27   (thm, lthy) 
    27   (thm, lthy) 
    28 end
    28 end
    29 (* @end *)
    29 (* @end *)
    30 
    30