mirage-tc

MirageOS type-classes
IN THIS PACKAGE
Module Tc . As_L1

Parameters

module S : sig ... end

Signature

val equal : 'a equal -> 'a S.t equal
val compare : 'a compare -> 'a S.t compare
val hash : 'a hash -> 'a S.t hash
val to_json : 'a to_json -> 'a S.t to_json

The REST interface

val of_json : 'a of_json -> 'a S.t of_json
val size_of : 'a size_of -> 'a S.t size_of

The serialization format

val write : 'a writer -> 'a S.t writer
val read : 'a reader -> 'a S.t reader