package ocamlformat

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

Module Ocamlformat.SourceSource

Sourcetype t

empty_line_between t p1 p2 is true if there is an empty line between p1 and p2. The lines containing p1 and p2 are not considered empty.

Sourceval string_literal : t -> [ `Normalize | `Preserve ] -> Ocaml_common.Location.t -> Ocamlformat_stdlib.string

is_long_pmod_functor source mod_exp holds if mod_exp is a Pmod_functor expression that is expressed in long ('functor (M) ->') form in source.

is_long_pmty_functor source mod_type holds if mod_type is a Pmty_functor type that is expressed in long ('functor (M) ->') form in source.

OCaml

Innovation. Community. Security.