doc-src/IsarAdvanced/Codegen/Thy/Setup.thy
changeset 28428 fd007794561f
parent 28419 f65e8b318581
child 28440 0b9ddfa6458e
equal deleted inserted replaced
28427:cc9f7d99fb73 28428:fd007794561f
     6 ML {* no_document use_thys ["Efficient_Nat", "Code_Char_chr"] *}
     6 ML {* no_document use_thys ["Efficient_Nat", "Code_Char_chr"] *}
     7 
     7 
     8 ML_val {* Code_Target.code_width := 74 *}
     8 ML_val {* Code_Target.code_width := 74 *}
     9 
     9 
    10 ML {*
    10 ML {*
    11 fun pr_class ctxt = Sign.extern_class (ProofContext.theory_of ctxt)
    11 fun pr_class ctxt = enclose "\\isa{" "}" o Sign.extern_class (ProofContext.theory_of ctxt)
    12   o Sign.read_class (ProofContext.theory_of ctxt);
    12   o Sign.read_class (ProofContext.theory_of ctxt);
    13 *}
    13 *}
    14 
    14 
    15 ML {*
    15 ML {*
    16 val _ = ThyOutput.add_commands
    16 val _ = ThyOutput.add_commands