package ocamlformat-mlx-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val is_docstring : t -> Ocamlformat_stdlib.bool
include Ocamlformat_stdlib.Comparator.S with type t := t
type comparator_witness
type error = {
  1. kind : [ `Added of t | `Modified of t * t | `Dropped of t ];
  2. cmt_kind : [ `Comment | `Doc_comment ];
}
val pp_error : Ocamlformat_stdlib.Format.formatter -> error -> Ocamlformat_stdlib.unit
type pos =
  1. | Before
  2. | Within
  3. | After
type loc = t
module Comparator_no_loc : sig ... end

Detect and remove the baseline indentation of a comment or a code block. offset is the column number at which the first line starts.

OCaml

Innovation. Community. Security.