aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/kernel/Path.ml2
-rw-r--r--lib/kernel/Path.mli2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/kernel/Path.ml b/lib/kernel/Path.ml
index 77a6b54..eeef396 100644
--- a/lib/kernel/Path.ml
+++ b/lib/kernel/Path.ml
@@ -2,6 +2,8 @@ type t = string list
let this = []
let ( @/ ) x y = x :: y
+let of_list segments = segments
+let to_list path = path
let to_string path =
path
diff --git a/lib/kernel/Path.mli b/lib/kernel/Path.mli
index 198ef83..571e59c 100644
--- a/lib/kernel/Path.mli
+++ b/lib/kernel/Path.mli
@@ -2,6 +2,8 @@ type t
val this : t
val ( @/ ) : string -> t -> t
+val of_list : string list -> t
+val to_list : t -> string list
val lookup : Protocols.Handle.t -> t -> (Protocols.Handle.t, Concepts.Condition.condition) result
val update :