package ocaml-base-compiler

  1. Overview
  2. Docs
Official release 4.08.1

Install

dune-project
 Dependency

Authors

Maintainers

Sources

4.08.1.tar.gz
sha256=b53ed3d487b83fd49bc181bded066ae8e6fb592cf40514261d27d36050d5db85
md5=723b6bfe8cf5abcbccc6911143f71055

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.