package serde

  1. Overview
  2. Docs

Module Serde.Ser_base

Sourcetype ('value, 'state, 'output) t = 'value -> ('value, 'state, 'output) ctx -> ('output, error) result
Sourceand ('value, 'state, 'output) ctx =
  1. | Ctx of ('value, 'state, 'output) t * ('state, 'output) Ser_base.serializer * 'state
Sourceval serializer : ('value, 'state, 'output) t -> ('value, 'state, 'output) t
Sourcemodule type Serializer = sig ... end
Sourcetype ('state, 'output) serializer = (module Serializer with type output = 'output and type state = 'state)