OCaml Library Collection
/

Collection layout styles

type t = [
  1. | `Any
    (*

    Let emitter choose

    *)
  2. | `Block
    (*

    Indentation-based

    *)
  3. | `Flow
    (*

    Inline with brackets

    *)
]
val to_string : t -> string

Convert style to string representation

val pp : Format.formatter -> t -> unit

Pretty-print a style

val equal : t -> t -> bool

Test equality of two styles

val compare : t -> t -> int

Compare two styles