bonsai

A library for building dynamic webapps, using Js_of_ocaml
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library bonsai.web_ui_form
type 'a t
type derived_on
val name : 'a t -> Base.string

The name of the field, e.g. "rgb" from the example above.

val path : 'a t -> Base.string Base.list

The path of a field, e.g. "rgb" from the example above. The list will have multiple elements if the field is a subproduct.

val __ord : 'a t -> Base.int Base.list
module Type_ids : sig ... end
module Packed : sig ... end

Packed is useful for making collections of 'a t's with different 'a's.

type creator = {
f : 'a. 'a t -> 'a;
}
val get : 'a t -> derived_on -> 'a
val set : 'a t -> derived_on -> 'a -> derived_on
val create : creator -> derived_on