Pickles.Tag
type ('var, 'value, 'n1, 'n2) id = ('var * 'value * 'n1 * 'n2) Core_kernel.Type_equal.Id.t
type kind =
| Side_loaded
| Compiled
type ('var, 'value, 'n1, 'n2) t = private {
kind : kind;
id : ( 'var, 'value, 'n1, 'n2 ) id;
}
Base type
val id : ( 'var, 'value, 'n1, 'n2 ) t -> ( 'var, 'value, 'n1, 'n2 ) id
val kind : ( 'var, 'value, 'n1, 'n2 ) t -> kind
module Fields : sig ... end
val create : ?kind:kind -> string -> ( 'var, 'value, 'n1, 'n2 ) t
create ?kind name creates a tag with kind kind and id derived from name.
create ?kind name
kind
name
defaults to Compiled
Compiled