package containers

  1. Overview
  2. Docs
A modular, clean and powerful extension of the OCaml standard library

Install

Dune Dependency

Authors

Maintainers

Sources

containers-3.13.1.tbz
sha256=eb9b26eb2c3cf04fc5157d256eb49c43552ccb5c59c568772d70315db9669784
sha512=7f4cf5112c8047fd789c04129745dbe9783aa94390e8983f86408053b0af637e2a9cfce1559ce466b1b6ff7c01fd52d8685f5db1d1c0dda2c0aa138f90606a50

doc/containers/CCSexp_intf/module-type-SEXP/index.html

Module type CCSexp_intf.SEXPSource

Abstract representation of S-expressions (extended)

  • since 2.7
include BASIC_SEXP
Sourcetype t
Sourceval atom : string -> t
Sourceval list : t list -> t
Sourceval match_ : t -> atom:(string -> 'a) -> list:(t list -> 'a) -> 'a
Sourcetype loc
Sourceval make_loc : ((int * int) -> (int * int) -> string -> loc) option

If provided, builds a location from a pair of (line,column) positions, and a (possibly dummy) filename

Sourceval atom_with_loc : loc:loc -> string -> t
Sourceval list_with_loc : loc:loc -> t list -> t
OCaml

Innovation. Community. Security.