package ocamlformat-mlx-lib

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

Indentation of various nodes.

Expressions

Check the function-indent-nested option, or return default (0 if not provided) if the option does not apply.

val fun_ : ?eol:Fmt.t -> Conf.t -> Ocamlformat_stdlib.int

Handle function-indent-nested.

val fun_args : Conf.t -> Ocamlformat_stdlib.int
val fun_type_annot : Conf.t -> Ocamlformat_stdlib.int
val docked_function_after_fun : Conf.t -> parens:Ocamlformat_stdlib.bool -> lbl:Extended_ast.Asttypes.arg_label -> Ocamlformat_stdlib.int
val record_docstring : Conf.t -> Ocamlformat_stdlib.int
val constructor_docstring : Conf.t -> Ocamlformat_stdlib.int
val exp_constraint : Conf.t -> Ocamlformat_stdlib.int
val assignment_operator_bol : Conf.t -> Ocamlformat_stdlib.int

Module expressions

val mod_unpack_annot : Conf.t -> Ocamlformat_stdlib.int

Module types

val mty_with : Conf.t -> Ocamlformat_stdlib.int

Types

val type_constr : Conf.t -> Ocamlformat_stdlib.int
OCaml

Innovation. Community. Security.