package ocamlformat

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Remove comments that duplicate docstrings (or other comments).

val equal : 'a Extended_ast.t -> ignore_doc_comments:Ocamlformat_stdlib.bool -> Conf.t -> 'a -> 'a -> Ocamlformat_stdlib.bool

Compare fragments for equality up to normalization.

val diff_docstrings : Conf.t -> Cmt.t Ocamlformat_stdlib.list -> Cmt.t Ocamlformat_stdlib.list -> (Ocamlformat_stdlib.string, Ocamlformat_stdlib.string) Ocamlformat_stdlib.Either.t Ocamlformat_stdlib.Sequence.t

Difference between two lists of doc comments.

val diff_cmts : Conf.t -> Cmt.t Ocamlformat_stdlib.list -> Cmt.t Ocamlformat_stdlib.list -> (Ocamlformat_stdlib.string, Ocamlformat_stdlib.string) Ocamlformat_stdlib.Either.t Ocamlformat_stdlib.Sequence.t

Difference between two lists of comments.

OCaml

Innovation. Community. Security.