package bonsai
A library for building dynamic webapps, using Js_of_ocaml
Install
Dune Dependency
Authors
Maintainers
Sources
bonsai-v0.14.0.tar.gz
sha256=43f35d648644492d776bf2c7b86c8227e7793615b6a658432e95f8dccd3631f8
md5=b5e743dbfa64d0da5fd660f14cd0b549
doc/bonsai.web/Bonsai_web/Bonsai/Proc/index.html
Module Bonsai.Proc
module Val : sig ... end
This module is intended to be used with a yet-unfinished PPX. I recommend avoiding this module until let%sub is finished.
module Computation : sig ... end
val sub :
'a Computation.t ->
f:('a Val.t -> 'b Computation.t) ->
'b Computation.t
val return : 'a Val.t -> 'a Computation.t
val apply : ('a, 'b) t -> 'a Val.t -> 'b Computation.t
val apply_unit : (unit, 'b) t -> 'b Computation.t
val proc : ('a Val.t -> 'b Computation.t) -> ('a, 'b) t
val if_ :
bool Val.t ->
then_:'a Computation.t ->
else_:'a Computation.t ->
'a Computation.t
val enum :
(module Enum with type t = 'a) ->
match_:'a Val.t ->
with_:('a -> 'b Computation.t) ->
'b Computation.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>