package ppxlib

  1. Overview
  2. Docs
Standard library for ppx rewriters

Install

Dune Dependency

Authors

Maintainers

Sources

ppxlib-0.25.0.tbz
sha256=2d2f150e7715845dc578d254f705a67600be71c986b7e67e81befda612870bd5
sha512=464220e3d8c75503824b73393df0b8ad16019acf55b8ecef89f8d464cd6d054e470ce4866b244216c5f7b85a5e8abad908aad212a78b4a132f3092fa785da0de

doc/ppxlib.astlib/Astlib/Longident/index.html

Module Astlib.LongidentSource

Long identifiers, used in parsetrees.

type t = Ocaml_common.Longident.t =
  1. | Lident of string
  2. | Ldot of t * string
  3. | Lapply of t * t

The long identifier type

val flatten : t -> string list

Flatten a long identifier built upon Lident and Ldot. Raise when hitting Lapply.

Sourceval parse : string -> t

Parse a string into a long identifier built upon Lident and Ldot.

OCaml

Innovation. Community. Security.