package ppxlib

  1. Overview
  2. Docs
Standard infrastructure for ppx rewriters

Install

Dune Dependency

Authors

Maintainers

Sources

ppxlib-0.36.0.tbz
sha256=5aba1bce14c53108614130110c843d004bf93bd2cf3a0778fd7086b85390a434
sha512=1e3e8fee42fe74bffc178dbcbb2db8ec38dd23e71f6fed3c4c92618cf93892f5847787e6e9abb322f5c85d29a76afde28ce840b42e10fedc14cd82ba578ad06a

doc/ppxlib/Ppxlib/Longident/index.html

Module Ppxlib.LongidentSource

Overrides the Longident module of OCaml

Sourcetype t = Astlib.Longident.t =
  1. | Lident of string
  2. | Ldot of t * string
  3. | Lapply of t * t
Sourceval compare : t -> t -> int
Sourceval sexp_of_t : t -> Stdppx.Sexp.t
Sourceval flatten_exn : t -> string list
Sourceval last_exn : t -> string
Sourceval parse : string -> t

Parses the given string as a longident, properly handling infix operators which may contain '.'. Note that it does not parse Lapply _ longidents and will raise Invalid_argument _ if passed values such as "A(B)".

Sourceval name : t -> string
Sourcemodule Map : Map.S with type key = t
Sourcemodule Set : Set.S with type elt = t
OCaml

Innovation. Community. Security.