Module Abstract.Version

Versioned representations.

type name = string

The type for version names. This assumes an UTF-8 encoding.

type 'a t

The type for a versioned type representation for type 'a.

val make : name:name -> 'a gist -> 'a t

make ~name g is a public version named name described by the type g.

val name : 'a t -> name

name v is the version name of v.

val gist : 'a t -> 'a gist

gist v is the type representation of v.