package ocaml-base-compiler

  1. Overview
  2. Docs
Official release 4.10.2

Install

Dune Dependency

Authors

Maintainers

Sources

4.10.2.tar.gz
sha256=7aa26e0d70f36f0338df92cf5aaeb2704f3443bfe910a3d02a5dca9162f1d866

doc/ocamlcommon/Longident/index.html

Module Longident

Long identifiers, used in parsetree.

Warning: this module is unstable and part of compiler-libs.

type 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
val last : t -> string
val parse : string -> t

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

OCaml

Innovation. Community. Security.