package dune-private-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = int * int

A syntax version.

It is always assumed that a parser with version (X, Y) can read the output produced by a printer at version (X, Z) for any Z <= Y.

include Conv.S with type t := t
val decode : t Decoder.t
val encode : t Encoder.t
val to_dyn : t Stdune.Dyn.Encoder.t
val hash : t -> int
val equal : t -> t -> bool
val to_string : t -> string
val can_read : parser_version:t -> data_version:t -> bool

Whether the parser can read the data or not

val compare : t -> t -> Stdune.Ordering.t
module Infix : Stdune.Comparator.OPS with type t = t
OCaml

Innovation. Community. Security.