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/bonsai.web_test/Bonsai_web_test/Arrow/Helpers/index.html

Module Arrow.HelpersSource

Sourcemodule type S = sig ... end
Sourceval make_generic : driver:('input, 's) Bonsai_test.Arrow.Driver.t -> string_of_result:('result -> string) -> get_result:('s -> 'result) -> get_extra:('s -> 'extra) -> schedule_action:('s -> 'action -> unit) -> (module S with type action = 'action and type extra = 'extra and type input = 'input)
Sourceval make : driver:('input, 'result) Bonsai_test.Arrow.Driver.t -> sexp_of_result:('result -> Core.Sexp.t) -> (module S with type action = Core.Nothing.t and type extra = unit and type input = 'input)
Sourceval make_with_inject : driver: ('input, 'result * ('action -> unit Bonsai_web_test__.Import.Vdom.Effect.t)) Bonsai_test.Arrow.Driver.t -> sexp_of_result:('result -> Core.Sexp.t) -> (module S with type action = 'action and type extra = unit and type input = 'input)
Sourceval make_string : driver:('input, string) Bonsai_test.Arrow.Driver.t -> (module S with type action = Core.Nothing.t and type extra = unit and type input = 'input)
Sourceval make_string_with_inject : driver: ('input, string * ('action -> unit Bonsai_web_test__.Import.Vdom.Effect.t)) Bonsai_test.Arrow.Driver.t -> (module S with type action = 'action and type extra = unit and type input = 'input)
Sourceval make_vdom : ?vdom_to_string:(Bonsai_web_test__.Import.Vdom.Node.t -> string) -> driver: ('input, Bonsai_web_test__.Import.Vdom.Node.t) Bonsai_test.Arrow.Driver.t -> (module Bonsai_web_test__.Helpers_intf.S_vdom with type action = Core.Nothing.t and type extra = unit and type input = 'input)
Sourceval make_vdom_with_extra : ?vdom_to_string:(Bonsai_web_test__.Import.Vdom.Node.t -> string) -> driver: ('input, Bonsai_web_test__.Import.Vdom.Node.t * 'extra) Bonsai_test.Arrow.Driver.t -> (module Bonsai_web_test__.Helpers_intf.S_vdom with type action = Core.Nothing.t and type extra = 'extra and type input = 'input)
Sourceval make_vdom_with_inject : ?vdom_to_string:(Bonsai_web_test__.Import.Vdom.Node.t -> string) -> driver: ('input, Bonsai_web_test__.Import.Vdom.Node.t * ('action -> unit Bonsai_web_test__.Import.Vdom.Effect.t)) Bonsai_test.Arrow.Driver.t -> (module Bonsai_web_test__.Helpers_intf.S_vdom with type action = 'action and type extra = unit and type input = 'input)
OCaml

Innovation. Community. Security.