package zanuda

  1. Overview
  2. Docs
Linter for OCaml+dune projects

Install

Dune Dependency

Authors

Maintainers

Sources

v1.1.0.tar.gz
sha256=5b7deabdb016858a0e19ddfb7647f628a243065f88c5ae9f4c362500d51cea7a
sha512=ceb852103fbbb88b5eeb8130bc7aa8bffe7130df6645d3298e1bb9b8f7e8f6c7b323ccc474cf92a08d28e7b80e9a96d68fd53de2e51c7c0e7d8e3e82e436b4bc

doc/zanuda.core/Zanuda_core/Collected_decls/index.html

Module Zanuda_core.Collected_declsSource

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

Mutable. Not thread safe. See also Unused_ML_logger

Sourceval add_just_decl : string -> unit

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

Sourceval add_used_decl : string -> unit

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

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

Analyze signature. See also MLLogger.run

OCaml

Innovation. Community. Security.