bonsai

A library for building dynamic webapps, using Js_of_ocaml
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library bonsai
Module Bonsai . Private . Meta . Model
type 'a t = {
default : 'a;
equal : 'a -> 'a -> bool;
type_id : 'a Core.Type_equal.Id.t;
sexp_of : 'a -> Core.Sexp.t;
of_sexp : Core.Sexp.t -> 'a;
}
val unit : unit t
val both : 'a t -> 'b t -> ('a * 'b) t
val map : (module Bonsai__Import.Comparator with type comparator_witness = 'cmp and type t = 'k) -> 'a t -> ( 'k, 'a, 'cmp ) Core.Map.t t
val of_module : (module Bonsai__Import.Model with type t = 'a) -> default:'a -> name:string -> 'a t