doc-src/IsarAdvanced/Codegen/Thy/Codegen.thy
changeset 24628 33137422d7fd
parent 24421 acfb2413faa3
child 24994 c385c4eabb3b
equal deleted inserted replaced
24627:cc6768509ed3 24628:33137422d7fd
  1196   \item @{text change_yield} update with side result.
  1196   \item @{text change_yield} update with side result.
  1197 
  1197 
  1198   \end{description}
  1198   \end{description}
  1199 *}
  1199 *}
  1200 
  1200 
  1201 subsubsection {* Datatype hooks *}
  1201 (*subsubsection {* Datatype hooks *}
  1202 
  1202 
  1203 text {*
  1203 text {*
  1204   Isabelle/HOL's datatype package provides a mechanism to
  1204   Isabelle/HOL's datatype package provides a mechanism to
  1205   extend theories depending on datatype declarations:
  1205   extend theories depending on datatype declarations:
  1206   \emph{datatype hooks}.  For example, when declaring a new
  1206   \emph{datatype hooks}.  For example, when declaring a new
  1309      existing datatypes, in blocks of mutual recursive datatypes,
  1309      existing datatypes, in blocks of mutual recursive datatypes,
  1310      where all datatypes a block depends on are processed before
  1310      where all datatypes a block depends on are processed before
  1311      the block.
  1311      the block.
  1312 
  1312 
  1313   \end{description}
  1313   \end{description}
  1314 
  1314 *}*)
       
  1315 
       
  1316 text {*
  1315   \emph{Happy proving, happy hacking!}
  1317   \emph{Happy proving, happy hacking!}
  1316 *}
  1318 *}
  1317 
  1319 
  1318 end
  1320 end