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 Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=052db5d52ccacaab30ead1a4192ad021ee00c235a73c09b7918acabcee4a0cda

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

Module Stable_witness.ExportSource

Stable witnesses for primitive types exported by Core.Core_stable. Code using ppx_stable_witness is expected to start with open Stable_witness.Export.

Sourceval stable_witness_array : 'a t -> 'a array t
Sourceval stable_witness_bool : bool t
Sourceval stable_witness_bytes : bytes t
Sourceval stable_witness_char : char t
Sourceval stable_witness_exn : exn t
Sourceval stable_witness_float : float t
Sourceval stable_witness_int : int t
Sourceval stable_witness_int32 : int32 t
Sourceval stable_witness_int64 : int64 t
Sourceval stable_witness_lazy_t : 'a t -> 'a lazy_t t
Sourceval stable_witness_list : 'a t -> 'a list t
Sourceval stable_witness_nativeint : nativeint t
Sourceval stable_witness_option : 'a t -> 'a option t
Sourceval stable_witness_ref : 'a t -> 'a ref t
Sourceval stable_witness_string : string t
Sourceval stable_witness_unit : unit t
OCaml

Innovation. Community. Security.