package zanuda

  1. Overview
  2. Docs

Global storage for defined names. Is used to detect public but not used library fields.

Mutable. Not thread safe. See also Unused_ML_logger

val add_just_decl : string -> unit

Report definition of a value. Usually is called from signature analyzer.

val add_used_decl : string -> unit

Report usage of a value. Usually is called from structure analyzer.

val print_all_decls : unit -> unit
val print_used_decls : unit -> unit
val collect_unused : unit -> unit
val collect_from_mli_tree : Load_dune.w -> string -> Typedtree.signature -> unit

Analyze signature. See also MLLogger.run

OCaml

Innovation. Community. Security.