package ocaml-base-compiler

  1. Overview
  2. Docs
Official release 4.11.2

Install

Dune Dependency

Authors

Maintainers

Sources

4.11.2.tar.gz
sha256=044a2a68f6cfa3d2349257770a340ced14c3940fb4d78414dda0e59e4ff0aa09

doc/ocamlcommon/Path/index.html

Module Path

type t =
  1. | Pident of Ident.t
  2. | Pdot of t * string
  3. | Papply of t * t
val same : t -> t -> bool
val compare : t -> t -> int
val find_free_opt : Ident.t list -> t -> Ident.t option
val exists_free : Ident.t list -> t -> bool
val scope : t -> int
val flatten : t -> [ `Contains_apply | `Ok of Ident.t * string list ]
val name : ?paren:(string -> bool) -> t -> string
val head : t -> Ident.t
val print : Format.formatter -> t -> unit
val heads : t -> Ident.t list
val last : t -> string
val is_uident : string -> bool
type typath =
  1. | Regular of t
  2. | Ext of t * string
  3. | LocalExt of Ident.t
  4. | Cstr of t * string
val constructor_typath : t -> typath
val is_constructor_typath : t -> bool
module Map : Map.S with type key = t
module Set : Set.S with type elt = t
OCaml

Innovation. Community. Security.