bonsai.extra
Bonsai_extra.Stability
bonsai
bonsai.bench
bonsai.bonsai_experimental_dagviz
bonsai.driver
bonsai.example_chat_open_source_native
bonsai.example_chat_open_source_native_common
bonsai.feather_icon
bonsai.focus_ring
bonsai.introspection_protocol
bonsai.jsoo_weak_collections
bonsai.kado
bonsai.ppx_bonsai_expander
bonsai.protocol
bonsai.tailwind_colors
bonsai.test
bonsai.test_of_bonsai_itself
bonsai.uri_parsing
bonsai.vdom_node_with_map_children
bonsai.web
bonsai.web_test
bonsai.web_test_async
bonsai.web_test_of_bonsai_itself
bonsai.web_ui_accordion
bonsai.web_ui_auto_generated
bonsai.web_ui_common_components
bonsai.web_ui_drag_and_drop
bonsai.web_ui_element_size_hooks
bonsai.web_ui_extendy
bonsai.web_ui_favicon_svg
bonsai.web_ui_file
bonsai.web_ui_file_from_web_file
bonsai.web_ui_form
bonsai.web_ui_form_test
bonsai.web_ui_form_view
bonsai.web_ui_freeform_multiselect
bonsai.web_ui_gauge
bonsai.web_ui_multi_select
bonsai.web_ui_nav_link
bonsai.web_ui_partial_render_table
bonsai.web_ui_partial_render_table_protocol
bonsai.web_ui_popover
bonsai.web_ui_query_box
bonsai.web_ui_reorderable_list
bonsai.web_ui_scroll_utilities
bonsai.web_ui_toggle
bonsai.web_ui_tree_layout
bonsai.web_ui_typeahead
bonsai.web_ui_url_var
bonsai.web_ui_view
bonsai.web_ui_visibility
bonsai.web_ui_widget
bonsai_test_dot
ppx_bonsai
type 'a t =
| Stable of 'a
| Unstable of {
previously_stable : 'a option;
unstable_value : 'a;
}
include Sexplib0.Sexpable.S1 with type 'a t := 'a t
val t_of_sexp : (Sexplib0.Sexp.t -> 'a) -> Sexplib0.Sexp.t -> 'a t
val sexp_of_t : ('a -> Sexplib0.Sexp.t) -> 'a t -> Sexplib0.Sexp.t
include Ppx_compare_lib.Equal.S1 with type 'a t := 'a t
val equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> bool
val most_recent_stable_value : 'a t -> 'a option
val prefer_stable_value : 'a t -> 'a
Return the most_recent_stable_value if there is one, otherwise fall back to the unstable_value.f
most_recent_stable_value
unstable_value