package coq-serapi

  1. Overview
  2. Docs
Serialization library and protocol for machine interaction with the Coq proof assistant

Install

Dune Dependency

Authors

Maintainers

Sources

coq-serapi-8.12.0.0.12.0.tbz
sha256=7a50234b5a78be69fcf2f51463fb993a31cc9c1fafc7ac6c7fe081cd0f18b43f
sha512=1f76b8fcc452db99a5a90be68cc58e083c3636259c0bada7b38c71698ae377a71bc115df0a8814a4dc831c953a998dcaf1e17e9e57bd48810bcd2eddbc6757fd

doc/coq-serapi.serlib/Serlib/Ser_util/index.html

Module Serlib.Ser_util

type ('a, 'b) union = ('a, 'b) Util.union
val union_of_sexp : (Sexplib.Sexp.t -> 'a) -> (Sexplib.Sexp.t -> 'b) -> Sexplib.Sexp.t -> ('a, 'b) union
val sexp_of_union : ('a -> Sexplib.Sexp.t) -> ('b -> Sexplib.Sexp.t) -> ('a, 'b) union -> Sexplib.Sexp.t
val union_of_yojson : (Yojson.Safe.t -> ('a, string) Result.result) -> (Yojson.Safe.t -> ('b, string) Result.result) -> Yojson.Safe.t -> (('a, 'b) union, string) Result.result
val union_to_yojson : ('a -> Yojson.Safe.t) -> ('b -> Yojson.Safe.t) -> ('a, 'b) union -> Yojson.Safe.t
OCaml

Innovation. Community. Security.