Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type output = dbg
val initial_output : unit -> (output, error Serde.Ser.ser_error) Stdlib.result
val serialize_bool :
(module Serde.Ser.Mapper with type error = error and type output = output) ->
output ->
bool ->
(output, error Serde.Ser.ser_error) Stdlib.result
val serialize_unit :
(module Serde.Ser.Mapper with type error = error and type output = output) ->
output ->
unit ->
(output, error Serde.Ser.ser_error) Stdlib.result
val serialize_char :
(module Serde.Ser.Mapper with type error = error and type output = output) ->
output ->
char ->
(output, error Serde.Ser.ser_error) Stdlib.result
val serialize_int :
(module Serde.Ser.Mapper with type error = error and type output = output) ->
output ->
int ->
(output, error Serde.Ser.ser_error) Stdlib.result
val serialize_float :
(module Serde.Ser.Mapper with type error = error and type output = output) ->
output ->
float ->
(output, error Serde.Ser.ser_error) Stdlib.result
val serialize_string :
(module Serde.Ser.Mapper with type error = error and type output = output) ->
output ->
string ->
(output, error Serde.Ser.ser_error) Stdlib.result
val serialize_tuple :
(module Serde.Ser.Mapper with type error = error and type output = output) ->
output ->
size:int ->
elements:Serde.Ser.data list ->
(output, error Serde.Ser.ser_error) Stdlib.result
val serialize_unit_variant :
(module Serde.Ser.Mapper with type error = error and type output = output) ->
output ->
type_name:string ->
variant_name:string ->
variant_index:int ->
(output, error Serde.Ser.ser_error) Stdlib.result
val serialize_tuple_variant :
(module Serde.Ser.Mapper with type error = error and type output = output) ->
output ->
type_name:string ->
variant_index:int ->
variant_name:string ->
variant_size:int ->
fields:Serde.Ser.data list ->
(output, error Serde.Ser.ser_error) Stdlib.result
val serialize_record_variant :
(module Serde.Ser.Mapper with type error = error and type output = output) ->
output ->
type_name:string ->
variant_index:int ->
variant_name:string ->
variant_size:int ->
fields:(string * Serde.Ser.data) list ->
(output, error Serde.Ser.ser_error) Stdlib.result
val serialize_record :
(module Serde.Ser.Mapper with type error = error and type output = output) ->
output ->
type_name:string ->
record_size:int ->
fields:(string * Serde.Ser.data) list ->
(output, error Serde.Ser.ser_error) Stdlib.result