src/Pure/ML/ml_pervasive_final.ML
changeset 62860 045dc4ad6d98
parent 62852 dd5f3a6fee73
child 62870 cf724647f75b
equal deleted inserted replaced
62859:b2f951051472 62860:045dc4ad6d98
     4 Pervasive ML environment: final setup.
     4 Pervasive ML environment: final setup.
     5 *)
     5 *)
     6 
     6 
     7 if Options.default_bool "ML_system_unsafe" then ()
     7 if Options.default_bool "ML_system_unsafe" then ()
     8 else
     8 else
     9   (List.app ML_Name_Space.forget_structure
     9  (List.app ML_Name_Space.forget_structure (remove (op =) "PolyML" ML_Name_Space.exclude_structures);
    10     ["CInterface", "Foreign", "RunCall", "RuntimeCalls", "Signal"];
    10   ML \<open>structure PolyML = struct structure IntInf = PolyML.IntInf end\<close>);
    11    ML \<open>structure PolyML = struct structure IntInf = PolyML.IntInf end\<close>);
       
    12 
    11 
    13 structure Output: OUTPUT = Output;  (*seal system channels!*)
    12 structure Output: OUTPUT = Output;  (*seal system channels!*)
    14 
    13 
    15 structure Pure = struct val thy = Thy_Info.pure_theory () end;
    14 structure Pure = struct val thy = Thy_Info.pure_theory () end;
    16 
    15