package override

  1. Overview
  2. Docs
include module type of struct include Longident end with type t := Longident.t
val flatten : Longident.t -> string list
val unflatten : string list -> Longident.t option
val last : Longident.t -> string
val parse : string -> Longident.t

To print a longident, see Pprintast.longident, using Format.asprintf to convert to a string.

type t = Longident.t =
  1. | Lident of string
  2. | Ldot of t * string
  3. | Lapply of t * t
val show : t -> string
OCaml

Innovation. Community. Security.