type positionstype t
val create : ?initial_pos:pos -> unit -> t
val add : t -> offset:int -> unitint is absolute offset of the position
val add_twice : t -> offset:int -> unitval add_newline : t -> offset:int -> unitint is absolute offset of the newline character
val contents : t -> positionsval reset : t -> pos -> unit