package ppx_stable_witness

  1. Overview
  2. Docs
Ppx extension for deriving a witness that a type is intended to be stable. In this context, stable means that the serialization format will never change. This allows programs running at different versions of the code to safely communicate.

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ppx_stable_witness-v0.16.0.tar.gz
sha256=4f9857612d9d65c3844bd8940b946a19472e2d5b9df29e91c829d6d0aa78c5ef

doc/ppx_stable_witness.stable_witness/Stable_witness/Of_serializable2/index.html

Module Stable_witness.Of_serializable2Source

Parameters

module Stable_format : T2
module M : T2

Signature

Sourceval of_serializable : ('a1 t -> 'a2 t -> ('a1, 'a2) Stable_format.t t) -> (('a1, 'a2) Stable_format.t -> ('a1, 'a2) M.t) -> (('a1, 'a2) M.t -> ('a1, 'a2) Stable_format.t) -> 'a1 t -> 'a2 t -> ('a1, 'a2) M.t t

This is the analogue of of_serializable for types with 2 type parameters.

OCaml

Innovation. Community. Security.