package fpath-sexp0

  1. Overview
  2. No Docs
Adds Fpath.sexp_of_t and defines 3 new modules: Fsegment, Absolute_path and Relative_path

Install

Dune Dependency

Authors

Maintainers

Sources

fpath-base-0.3.1.tbz
sha256=634acd1b009c6faf0bc57e18767820302d58a58ac2870238b5075c76a84a09a9
sha512=158c569ed51dd87e014de5823c2fb9893bd680887411715ee35682dcbd3736d11e8af78a242baac8c0d4716a8b554a816267c09c702c9f9b26268579f3d9a7ef

Description

[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

Published: 27 May 2025

Dependencies (4)

  1. sexplib0 >= "v0.16"
  2. fpath >= "0.7.3"
  3. ocaml >= "4.14"
  4. dune >= "3.17"

Dev Dependencies (1)

  1. odoc with-doc

Used by (2)

  1. dunolint
  2. fpath-base >= "0.3.1"

Conflicts

None

OCaml

Innovation. Community. Security.