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.0.0.tar.gz
md5=fb107eb8055a9b2410b23e763c63bb70
sha512=fc0acc9d40665904b99ccfe4ca33a78a47ffedb6a2ee9c72c98c8bc21bda7e53fe8826784183ef9daa0fc228336169d2e0418668ffe39c149365e0a8e69a1f69

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

Module Protocol_conv.Runtime

type ('v, 'e) result = ('v, 'e) Base.Result.t
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.