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
Module type Bonsai_web_ui_form . Typed . Variant . S

This module should be generated by deriving typed_variants on a sum type.

val form_for_variant : 'a Typed_variant.t -> 'a Bonsai_web_ui_form__Form.t Bonsai_web.Computation.t

For each of the variants in your sum type, you need to provide a form component which produces values of that type.