aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/loadpath.ml
diff options
context:
space:
mode:
Diffstat (limited to 'library/loadpath.ml')
-rw-r--r--library/loadpath.ml8
1 files changed, 1 insertions, 7 deletions
diff --git a/library/loadpath.ml b/library/loadpath.ml
index 315cbf96e..873703aff 100644
--- a/library/loadpath.ml
+++ b/library/loadpath.ml
@@ -20,13 +20,7 @@ type t = {
path_is_root : bool;
}
-let load_paths = ref ([] : t list)
-
-let () = Summary.declare_summary "LOADPATHS" {
- Summary.freeze_function = (fun () -> !load_paths);
- Summary.unfreeze_function = (fun l -> load_paths := l);
- Summary.init_function = (fun () -> load_paths := []);
-}
+let load_paths = Summary.ref ([] : t list) ~name:"LOADPATHS"
let logical p = p.path_logical