package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

Dune Dependency

Authors

Maintainers

Sources

merlin-4.16-501.tbz
sha256=da5bf309b040645c292ae4572cc6a0a700dbd2bcfc996ac13c8e5c3836c21e26
sha512=99eba17b2bdec5411d239093f4e8e11ada79b2b84ae88074a1b46e47eb836bbf8cb7836c472c22e7f9e68cff1b9ea6d9b9989b70055c3277edb4cddc4a86460c

doc/merlin-lib.ocaml_typing/Ocaml_typing/Printtyp/Conflicts/index.html

Module Printtyp.ConflictsSource

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

Sourceval exists : unit -> bool

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

Sourcetype explanation = {
  1. kind : Shape.Sig_component_kind.t;
  2. name : string;
  3. root_name : string;
  4. location : Ocaml_parsing.Location.t;
}
Sourceval list_explanations : unit -> explanation list

list_explanations() return the list of conflict explanations collected up to this point, and reset the list of collected explanations

Sourceval print_located_explanations : Format.formatter -> explanation list -> unit
Sourceval print_explanations : Format.formatter -> unit

Print all conflict explanations collected up to this point

Sourceval reset : unit -> unit
OCaml

Innovation. Community. Security.