bonsai
A library for building dynamic webapps, using Js_of_ocaml
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package bonsai
-
bonsai
-
-
bonsai.bench
-
bonsai.example_chat_open_source_native
-
bonsai.example_chat_open_source_native_common
-
-
bonsai.extra
-
-
bonsai.focus_ring
-
bonsai.protocol
-
bonsai.tailwind_colors
-
bonsai.test
-
bonsai.test.dot
-
bonsai.web_test
-
bonsai.web_ui_common_components
-
bonsai.web_ui_drag_and_drop
-
bonsai.web_ui_element_size_hooks
-
bonsai.web_ui_file
-
bonsai.web_ui_file_from_web_file
-
bonsai.web_ui_form
-
-
bonsai.web_ui_freeform_multiselect
-
bonsai.web_ui_multi_select
-
-
bonsai.web_ui_query_box
-
bonsai.web_ui_reorderable_list
-
bonsai.web_ui_typeahead
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library bonsai.web_ui_form
type ('field, 'head, 'tail, 'all_fields, 'extra) fold_step =
( 'head, 'all_fields, 'extra ) accum ->
( 'all_fields -> 'field ) * ( 'tail, 'all_fields, 'extra ) accum
A step of the fold over one or more fields.
type ('field, 'tail, 'all_fields, 'extra) handle_one_field =
( 'field,
( 'field, 'tail ) Record_builder.Hlist.cons,
'tail,
'all_fields Record_builder.Hlist.nonempty,
'extra )
fold_step
A step of the fold over one field.
Each argument to Fields.make_creator
should take that field as an argument and return something of this type.
type ('record, 'all_fields, 'extra) handle_all_fields =
( 'record,
'all_fields Record_builder.Hlist.nonempty,
Record_builder.Hlist.nil,
'all_fields Record_builder.Hlist.nonempty,
'extra )
fold_step
A step of the fold over all fields of a record.
The application of Fields.make_creator
to all of the fields, but without an initial value for the fold, should have this type and be passed to Record_builder
.S.build_for_record.
ON THIS PAGE
No table of contents