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/Printtyp/Conflicts/index.html

Module Printtyp.Conflicts

The Conflicts module keeps track of conflicts arising when attributing names to identifiers and provides functions that can print explanations for these conflict in error messages

val exists : unit -> bool

exists() returns true if the current naming context renamed an identifier to avoid a name collision

type explanation = {
  1. kind : namespace;
  2. name : string;
  3. location : Location.t;
}
val take : unit -> explanation list
val pp : Format.formatter -> explanation list -> unit
val print : Format.formatter -> unit
val reset : unit -> unit
OCaml

Innovation. Community. Security.