package bonsai

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

Install

Dune Dependency

Authors

Maintainers

Sources

bonsai-v0.14.0.tar.gz
sha256=43f35d648644492d776bf2c7b86c8227e7793615b6a658432e95f8dccd3631f8
md5=b5e743dbfa64d0da5fd660f14cd0b549

doc/bonsai.types/Bonsai_types/Packed/index.html

Module Bonsai_types.Packed

type 'model model_info = {
  1. default : 'model;
  2. equal : 'model -> 'model -> bool;
  3. type_id : 'model Core_kernel.Type_equal.Id.t;
  4. sexp_of : 'model -> Core_kernel.Sexp.t;
  5. of_sexp : Core_kernel.Sexp.t -> 'model;
}
val unit_model_info : unit model_info
val both_model_infos : 'a model_info -> 'b model_info -> ('a * 'b) model_info
type ('input, 'result, 'incr, 'event) t =
  1. | T : {
    1. unpacked : ('input, 'model, 'action, 'result, 'incr, 'event) unpacked;
    2. action_type_id : 'action Core_kernel.Type_equal.Id.t;
    3. model : 'model model_info;
    } -> ('input, 'result, 'incr, 'event) t
OCaml

Innovation. Community. Security.