62846
|
1 |
(* Title: Pure/ML/ml_final.ML
|
|
2 |
Author: Makarius
|
|
3 |
|
|
4 |
Final setup of ML environment.
|
|
5 |
*)
|
|
6 |
|
62851
|
7 |
if Options.default_bool "ML_system_unsafe" then ()
|
|
8 |
else
|
|
9 |
(List.app ML_Name_Space.forget_structure
|
|
10 |
["CInterface", "Foreign", "RunCall", "RuntimeCalls", "Signal"];
|
|
11 |
ML \<open>structure PolyML = struct structure IntInf = PolyML.IntInf end\<close>);
|
62846
|
12 |
|
|
13 |
structure Output: OUTPUT = Output; (*seal system channels!*)
|
|
14 |
|
|
15 |
structure Pure = struct val thy = Thy_Info.pure_theory () end;
|
|
16 |
|
|
17 |
Proofterm.proofs := 0;
|
|
18 |
|
|
19 |
Context.set_thread_data NONE;
|