package alba

  1. Overview
  2. Docs
type range = Position.t * Position.t
type 'a t
val make : Position.t -> 'a -> Position.t -> 'a t
val map : ('a -> 'b) -> 'a t -> 'b t
val use : 'a t -> (Position.t -> 'a -> Position.t -> 'b) -> 'b
val start : 'a t -> Position.t
val end_ : 'a t -> Position.t
val range : 'a t -> range
val value : 'a t -> 'a
val split : 'a t -> 'a * range
OCaml

Innovation. Community. Security.