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/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.