package octez-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Builds a new runner for encoders using a specific tree.

Parameters

module T : TREE

Signature

type tree = T.tree
val encode : 'a t -> 'a -> tree -> tree Lwt.t

encode enc x tree encodes a value x using the encoder enc into the provided tree.

val decode : 'a t -> tree -> 'a Lwt.t

decode enc x tree decodes a value using the encoder enc from the provided tree.

OCaml

Innovation. Community. Security.