Module Volgo_stdlib

Extending Stdlib for use in the project.

Internal Library - Not for External Use

This library is meant to be an internal component of the Volgo project. It is shared across multiple OCaml packages within the project. We have not found a way to mark it as private in the dune build system, but it should be treated as private.

Warning: In particular, this library is not intended for use outside of the Volgo project. Its interface is subject to breaking changes at any time, without following semver or any other stability and backward compatibility guidelines.

module Code_error : sig ... end

A programming error that should be reported upstream

module Dyn : sig ... end
module Dynable : sig ... end
val print_dyn : Dyn.t -> unit
val phys_equal : 'a -> 'a -> bool
module Ordering : sig ... end
module Absolute_path : sig ... end
module Array : sig ... end
module Bool : sig ... end
module Char : sig ... end
module Fsegment : sig ... end
module Hashtbl : sig ... end
module Int : sig ... end
module List : sig ... end
module Option : sig ... end
module Queue : sig ... end
module Relative_path : sig ... end
module Result : sig ... end
module String : sig ... end

Sexp helper

module type To_sexpable = sig ... end
val sexp_field : (module To_sexpable with type t = 'a) -> string -> 'a -> Sexplib0.Sexp.t
val sexp_field' : ('a -> Sexplib0.Sexp.t) -> string -> 'a -> Sexplib0.Sexp.t
module Sexp : sig ... end

Test helpers

module With_equal_and_dyn : sig ... end
val require : bool -> unit
val require_does_raise : (unit -> 'a) -> unit
val require_equal : (module With_equal_and_dyn.S with type t = 'a) -> 'a -> 'a -> unit
val require_not_equal : (module With_equal_and_dyn.S with type t = 'a) -> 'a -> 'a -> unit

Transition API

Functions in this section are exported to smooth transitions and refactor as we rework the exact set of third-party dependencies for the volgo project. They may be removed or renamed in the future.

val print_endline : string -> unit
val print_s : Sexp.t -> unit
val print_string : string -> unit