package bonsai

  1. Overview
  2. Docs
A library for building dynamic webapps, using Js_of_ocaml

Install

Dune Dependency

Authors

Maintainers

Sources

bonsai-v0.16.0.tar.gz
sha256=1d68aab713659951eba5b85f21d6f9382e0efa8579a02c3be65d9071c6e86303

doc/src/bonsai.web_ui_multi_select/selection_status.ml.html

Source file selection_status.ml

1
2
3
4
5
6
7
8
9
10
11
open! Core

type t =
  | Selected
  | Unselected
[@@deriving compare, equal, sexp]

let toggle = function
  | Selected   -> Unselected
  | Unselected -> Selected
;;
OCaml

Innovation. Community. Security.