src/Pure/System/session.ML
changeset 42004 e06351ffb475
parent 41703 d27950860514
child 42012 2c3fe3cbebae
equal deleted inserted replaced
42003:6e45dc518ebb 42004:e06351ffb475
    90    (! remote_path, rpath <> ""));
    90    (! remote_path, rpath <> ""));
    91 
    91 
    92 fun dumping (_, "") = NONE
    92 fun dumping (_, "") = NONE
    93   | dumping (cp, path) = SOME (cp, Path.explode path);
    93   | dumping (cp, path) = SOME (cp, Path.explode path);
    94 
    94 
    95 fun use_dir item root build modes reset info doc doc_graph doc_versions parent
    95 fun use_dir item root build modes reset info doc doc_graph doc_variants parent
    96     name dump rpath level timing verbose max_threads trace_threads
    96     name dump rpath level timing verbose max_threads trace_threads
    97     parallel_proofs parallel_proofs_threshold =
    97     parallel_proofs parallel_proofs_threshold =
    98   ((fn () =>
    98   ((fn () =>
    99      (init reset parent name;
    99      (init reset parent name;
   100       Present.init build info doc doc_graph doc_versions (path ()) name
   100       Present.init build info doc doc_graph doc_variants (path ()) name
   101         (dumping dump) (get_rpath rpath) verbose (map Thy_Info.get_theory (Thy_Info.get_names ()));
   101         (dumping dump) (get_rpath rpath) verbose (map Thy_Info.get_theory (Thy_Info.get_names ()));
   102       if timing then
   102       if timing then
   103         let
   103         let
   104           val start = start_timing ();
   104           val start = start_timing ();
   105           val _ = use root;
   105           val _ = use root;