doc-src/Codegen/Thy/Setup.thy
author wenzelm
Sat, 16 Apr 2011 13:48:45 +0200
changeset 42358 b47d41d9f4b5
parent 42293 6cca0343ea48
child 42669 04dfffda5671
permissions -rw-r--r--
Name_Space: proper configuration options long_names, short_names, unique_names instead of former unsynchronized references;

theory Setup
imports
  Complex_Main
  More_List RBT Dlist Mapping
uses
  "../../antiquote_setup.ML"
  "../../more_antiquote.ML"
begin

setup {*
let
  val typ = Simple_Syntax.read_typ;
in
  Sign.del_modesyntax_i (Symbol.xsymbolsN, false)
   [("_constrain", typ "logic => type => logic", Mixfix ("_\<Colon>_", [4, 0], 3)),
    ("_constrain", typ "prop' => type => prop'", Mixfix ("_\<Colon>_", [4, 0], 3))] #>
  Sign.add_modesyntax_i (Symbol.xsymbolsN, false)
   [("_constrain", typ "logic => type => logic", Mixfix ("_ \<Colon>  _", [4, 0], 3)),
    ("_constrain", typ "prop' => type => prop'", Mixfix ("_ \<Colon> _", [4, 0], 3))]
end
*}

setup {* Code_Target.set_default_code_width 74 *}

declare [[unique_names = false]]

end