package ppx_protocol_conv

  1. Overview
  2. Docs
Ppx for generating serialisation and de-serialisation functions of ocaml types

Install

Dune Dependency

Authors

Maintainers

Sources

5.1.1.tar.gz
md5=cfb803fb5331587cb7f9d4a5e80747ef
sha512=8424bfdaa8de6472b1ccc423f8ed7499efe4de849aac1217f053c851cb8ca1c63cf5fb502ea6a0bc3ee8dd4869f46a30289824c7bf8e9dd6927a80e5e9aa88a0

doc/ppx_protocol_conv.runtime/Protocol_conv/Runtime/index.html

Module Protocol_conv.Runtime

type nonrec ('v, 'e) result = ('v, 'e) result
module Record_in : sig ... end
module Record_out : sig ... end
module Tuple_in : sig ... end
module Tuple_out : sig ... end
module Variant_in : sig ... end
module type Driver = sig ... end

Signature for a driver. Serialization function are on the form of_XXX and deserialization function are on the form to_XXX.

module Helper : sig ... end

Module contains helper function for serializing and deserializing tuples, records and variants. Deserialization functions may raise Helper.Protocol exception. It is recommended that the calling functions convert this exception into a Driver.Protocol_exception

OCaml

Innovation. Community. Security.