author | haftmann |
Sat, 10 Jan 2015 10:24:30 +0100 | |
changeset 59334 | f0141b991c8f |
parent 59324 | f5f9993a168d |
child 59377 | 056945909f60 |
permissions | -rw-r--r-- |
28213 | 1 |
theory Setup |
39066 | 2 |
imports |
3 |
Complex_Main |
|
46517 | 4 |
"~~/src/HOL/Library/Dlist" |
5 |
"~~/src/HOL/Library/RBT" |
|
6 |
"~~/src/HOL/Library/Mapping" |
|
51162 | 7 |
"~~/src/HOL/Library/IArray" |
28213 | 8 |
begin |
9 |
||
59334 | 10 |
ML \<open> |
11 |
Isabelle_System.mkdirs (File.tmp_path (Path.basic "examples")) |
|
12 |
\<close> |
|
48951
b9238cbcdd41
more standard document preparation within session context;
wenzelm
parents:
48891
diff
changeset
|
13 |
|
b9238cbcdd41
more standard document preparation within session context;
wenzelm
parents:
48891
diff
changeset
|
14 |
ML_file "../antiquote_setup.ML" |
b9238cbcdd41
more standard document preparation within session context;
wenzelm
parents:
48891
diff
changeset
|
15 |
ML_file "../more_antiquote.ML" |
48891 | 16 |
|
38503 | 17 |
setup {* |
18 |
let |
|
19 |
val typ = Simple_Syntax.read_typ; |
|
20 |
in |
|
56240 | 21 |
Sign.del_syntax (Symbol.xsymbolsN, false) |
42293
6cca0343ea48
renamed sprop "prop#" to "prop'" -- proper identifier;
wenzelm
parents:
42288
diff
changeset
|
22 |
[("_constrain", typ "logic => type => logic", Mixfix ("_\<Colon>_", [4, 0], 3)), |
6cca0343ea48
renamed sprop "prop#" to "prop'" -- proper identifier;
wenzelm
parents:
42288
diff
changeset
|
23 |
("_constrain", typ "prop' => type => prop'", Mixfix ("_\<Colon>_", [4, 0], 3))] #> |
56240 | 24 |
Sign.add_syntax (Symbol.xsymbolsN, false) |
42293
6cca0343ea48
renamed sprop "prop#" to "prop'" -- proper identifier;
wenzelm
parents:
42288
diff
changeset
|
25 |
[("_constrain", typ "logic => type => logic", Mixfix ("_ \<Colon> _", [4, 0], 3)), |
6cca0343ea48
renamed sprop "prop#" to "prop'" -- proper identifier;
wenzelm
parents:
42288
diff
changeset
|
26 |
("_constrain", typ "prop' => type => prop'", Mixfix ("_ \<Colon> _", [4, 0], 3))] |
38503 | 27 |
end |
28 |
*} |
|
29 |
||
59324 | 30 |
declare [[default_code_width = 74]] |
34071 | 31 |
|
42669
04dfffda5671
more conventional naming scheme: names_long, names_short, names_unique;
wenzelm
parents:
42358
diff
changeset
|
32 |
declare [[names_unique = false]] |
28213 | 33 |
|
34 |
end |