Gist.Abstract
Operating on abstract types.
module Repr : sig ... end
Public representations.
type 'a t = 'a abstract
The type for abstract types of type 'a
.
v ~meta name reprs
represents an abstract type named name
with public representations reprs
.
The first representation of reprs
is assumed to be the default one to use. Other representations can be used when interfacing with systems that support representation versioning. If reprs
is empty, the type remains abstract.
reprs a
are the public representations of a
. The first representation (if any) is the one to favour.