package stdune

  1. Overview
  2. Docs
Dune's unstable standard library

Install

Dune Dependency

Authors

Maintainers

Sources

dune-3.7.0.tbz
sha256=e2d637c9d080318fedf5e71d2a29fb367624f82ac4a26e83df2b3a03550528b8
sha512=586e47ee45cd53a8c13095bde0b47de99aad9462d0a52199362140b5b654ca862597fa9f27f729a8cc594684ac46858848f9fa76f8f06dc8dc8ab8b1186a3295

doc/stdune/Stdune/Loc/index.html

Module Stdune.LocSource

Sourcetype t = {
  1. start : Lexing.position;
  2. stop : Lexing.position;
}
Sourceval none_pos : string -> Lexing.position
Sourcemodule Map : sig ... end
Sourceval in_file : Path.t -> t
Sourceval in_dir : Path.t -> t
Sourceval none : t
Sourceval is_none : t -> bool
Sourceval drop_position : t -> t
Sourceval of_lexbuf : Lexing.lexbuf -> t
Sourceval to_dyn : t -> Dyn.t
Sourceval dyn_of_position_no_file : Lexing.position -> Dyn.t
Sourceval equal : t -> t -> bool
Sourceval of_pos : (string * int * int * int) -> t

To be used with __POS__

Sourceval to_file_colon_line : t -> string
Sourceval pp_file_colon_line : t -> unit Pp.t
Sourceval to_dyn_hum : t -> Dyn.t
Sourcetype tag =
  1. | Loc
Sourceval pp : t -> tag Pp.t
Sourceval render : Format.formatter -> tag Pp.t -> unit
Sourceval on_same_line : t -> t -> bool
Sourceval compare : t -> t -> Ordering.t
Sourceval span : t -> t -> t
OCaml

Innovation. Community. Security.