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.
val name : 'a abstract -> string
name a
is the name of a
.