package ppxlib

  1. Overview
  2. Docs
Standard infrastructure for ppx rewriters

Install

Dune Dependency

Authors

Maintainers

Sources

ppxlib-0.32.1.tbz
sha256=9dbad8bcb1c8b4f3df3f58bca60a5ed23d86531f0da34b4196c86bd585c09d7f
sha512=7b93b622b119478dde03adcf4993e73ea937c91c280e453ccee631c682d8589ecb31841f11d6a14966239954e22e000da8afbe25a0f089532c7210b698c52553

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.