fpath-sexp0version Documentation on ocaml.org

Adds Fpath.sexp_of_t and defines 3 new modules: Fsegment, Absolute_path and Relative_path

[Fpath_sexplib0] is an OCaml module designed to be opened to extend the fpath package. It introduces three new modules to the scope: [Fsegment], [Absolute_path] and [Relative_path].

[Absolute_path] and [Relative_path] are helper modules that distinguish between classes of paths in the type system, enhancing type safety for applications manipulating paths.

Fpath is shadowed and retains all its original functionality, with the addition of a sexp serializer and new helpers for casting between the types of paths offered by the package (absolute and relative paths).

Tags fpath absolute-paths relative-paths
AuthorMathieu Barbin
LicenseMIT
Published
Homepagehttps://github.com/mbarbin/fpath-base
Issue Trackerhttps://github.com/mbarbin/fpath-base/issues
MaintainerMathieu Barbin <opensource@mbarbin.org>
Dependencies
Source [http] https://github.com/mbarbin/fpath-base/releases/download/0.4.0/fpath-base-0.4.0.tbz
sha256=1d7c13dd6daf879876b80b72e403ba9334b921d51397ccb3f4e3ab64bebd93f7
sha512=51c9d2236f4707f22d5e09e9134482acf5c11e51b63ef9add4324a768e65ddfcf43fc7e6322fa2ee95e013cc00874ccb29926ad610bd38c5eacdd799dfba9623
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/fpath-sexp0/fpath-sexp0.0.4.0/opam