aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2026-10-01 00:30:02 -0300
committerMarcos Magueta <maguetamarcos@gmail.com>2026-10-01 00:30:02 -0300
commita20dcc098925dfa214aadd9ce9ee44ab3072655d (patch)
treeb1dad72938331b3c4744c5341da137b749133760 /lib/kernel
parentc824f42518a1963ba2d895a9944bf4d885114eab (diff)
downloadRNT-a20dcc098925dfa214aadd9ce9ee44ab3072655d.tar.gz
RNT-a20dcc098925dfa214aadd9ce9ee44ab3072655d.zip
FOL program encoding and decoding
Diffstat (limited to 'lib/kernel')
-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 :