package stramon-lib
-
stramon-lib
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Normalized absolute path representation
val root : t
val to_parts : t -> string list
val of_parts : string list -> t option
Parts that are empty or are a single dot are ignored, i.e. [ "abc"; ""; "."; "def" ]
is treated the same as [ "abc"; "def" ]
.
..
goes back one level if possible, returns None
if not possible.
Returns None
if any part
/
val of_parts_exn : string list -> t
val to_string : t -> string