package ppxx

  1. Overview
  2. Docs
include module type of struct include Longident end
type t = Longident.t =
  1. | Lident of string
  2. | Ldot of t * string
  3. | Lapply of t * t
val flatten : t -> string list
val unflatten : string list -> t option

For a non-empty list l, unflatten l is Some lid where lid is the long identifier created by concatenating the elements of l with Ldot. unflatten [] is None.

val last : t -> string
include module type of struct include Xhelper.XLongident end
val format : Format.formatter -> Ppxlib.Ast.longident -> unit