package ppx_protocol_conv
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Ppx for generating serialisation and de-serialisation functions of ocaml types
Install
dune-project
Dependency
Authors
Maintainers
Sources
5.1.2.tar.gz
md5=b13fbc761c2aa3729b23a1362f140a18
sha512=95d8dabb38d7fe3f7a0ff2b4c17547ec5d2e30c4b83d1f166444ad8fa91ef02ee86ee855ef40bedc86a42ab35b2665a5001af9e2521dc7a648aa8b38c4143765
doc/ppx_protocol_conv.driver/Ppx_protocol_driver/Make/index.html
Module Ppx_protocol_driver.Make
Parameters
module P : ParametersSignature
type t = D.tSerialized type. This type should not be opaque, so it is recommended that drivers implement the signature as Runtime.Driver with type t = ...
exception Protocol_error of errorException for protocol errors. The driver should make sure that this is the only exception raised when deserializing
val error_to_string_hum : error -> stringConvert an error type to a human readable string
val to_string_hum : t -> stringConvert t to a string
val try_with : (t -> 'v) -> t -> ('v, error) Protocol_conv.Runtime.resultWrap deserialization function to convert exceptions into an result type
val to_variant : (t, 'a) Protocol_conv.Runtime.Variant_in.t list -> t -> 'aval of_variant : string -> (t, 'a, t) Protocol_conv.Runtime.Tuple_out.t -> 'aval to_record :
(t, 'constr, 'b) Protocol_conv.Runtime.Record_in.t ->
'constr ->
t ->
'bval of_record : (t, 'a, t) Protocol_conv.Runtime.Record_out.t -> 'aval to_tuple :
(t, 'constr, 'b) Protocol_conv.Runtime.Tuple_in.t ->
'constr ->
t ->
'bval of_tuple : (t, 'a, t) Protocol_conv.Runtime.Tuple_out.t -> 'aval to_result :
(t -> 'a) ->
(t -> 'b) ->
t ->
('a, 'b) Protocol_conv.Runtime.resultval of_result :
('a -> t) ->
('b -> t) ->
('a, 'b) Protocol_conv.Runtime.result ->
tval to_int : t -> intval of_int : int -> tval to_int32 : t -> int32val of_int32 : int32 -> tval to_int64 : t -> int64val of_int64 : int64 -> tval to_nativeint : t -> nativeintval of_nativeint : nativeint -> tval to_char : t -> charval of_char : char -> tval to_string : t -> stringval of_string : string -> tval to_float : t -> floatval of_float : float -> tval to_bool : t -> boolval of_bool : bool -> tval to_bytes : t -> bytesval of_bytes : bytes -> tval to_unit : t -> unitval of_unit : unit -> t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page