ProgTutorial/Package/Ind_Extensions.thy
changeset 419 2e199c5faf76
parent 404 3d27d77c351f
child 423 0a25b35178c3
equal deleted inserted replaced
418:1d1e4cda8c54 419:2e199c5faf76
   190 
   190 
   191 section {* Definitional Packages *}
   191 section {* Definitional Packages *}
   192 
   192 
   193 text {* Type declarations *}
   193 text {* Type declarations *}
   194 
   194 
   195 ML{*Typedef.add_typedef false NONE (@{binding test},[],NoSyn)
   195 ML{*Typedef.add_typedef_global false NONE (@{binding test},[],NoSyn)
   196   @{term "{1}::nat set"} NONE (simp_tac @{simpset} 1) @{theory} *}
   196   @{term "{1}::nat set"} NONE (simp_tac @{simpset} 1) @{theory} *}
   197 
   197 
   198 
   198 
   199 (*<*)end(*>*)
   199 (*<*)end(*>*)