package containers

  1. Overview
  2. Docs

Positions in input

  • since 3.6
type t = position
val line : t -> int

Line number, 0 based

val column : t -> int

Column number, 0 based

val line_and_column : t -> int * int

Line and column number

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

Unspecified pretty-printed version of the position.

OCaml

Innovation. Community. Security.