package bonsai

  1. Overview
  2. Docs
A library for building dynamic webapps, using Js_of_ocaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=c78c4476ee6b856846e2d0941e5965009d5e1b853e564b2b1bee61202f0b1ebb

doc/bonsai.extra/Bonsai_extra/Id_gen/Set/Provide_bin_io/argument-1-Elt/index.html

Parameter Provide_bin_io.Elt

include Bin_prot.Binable.S with type t := Elt.t
include Bin_prot.Binable.S_only_functions with type t := Elt.t
val bin_size_t : Elt.t Bin_prot.Size.sizer
val bin_write_t : Elt.t Bin_prot.Write.writer
val bin_read_t : Elt.t Bin_prot.Read.reader
val __bin_read_t__ : (int -> Elt.t) Bin_prot.Read.reader

This function only needs implementation if t exposed to be a polymorphic variant. Despite what the type reads, this does *not* produce a function after reading; instead it takes the constructor tag (int) before reading and reads the rest of the variant t afterwards.

val bin_shape_t : Bin_prot.Shape.t