package octez-libs

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

Module Runner.MakeSource

Builds a new runner for encoders using a specific tree.

Parameters

module T : TREE

Signature

Sourcetype tree = T.tree
Sourceval encode : 'a t -> 'a -> tree -> tree Lwt.t

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

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