package ocaml-base-compiler

  1. Overview
  2. Docs
Official release 4.08.0

Install

Dune Dependency

Authors

Maintainers

Sources

4.08.0.tar.gz
sha256=c8ff78d010cb037ac6d6729e40ebdbee109218899007ef23a20b8f459ac186d6
md5=42ed24e9a7c0e3998cab7d5e7c9f7618

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.