package js_of_ocaml-compiler
Compiler from OCaml bytecode to JavaScript
Install
Dune Dependency
Authors
Maintainers
Sources
js_of_ocaml-6.1.0.tbz
sha256=3c330cc382fde31ab77c2563fc294a17037c2c6b49cdbc4183a8072c88471527
sha512=6ffd56aa08e3642172421b7c1e1e6bfe3db4cf79aa83752c247758f4a2c04a8c7e470cd7005f9f7c894905e01c2d3c07db83a91cb2aa06e3f7c6a494a8d3553b
doc/js_of_ocaml-compiler.runtime/Jsoo_runtime/Effect/index.html
Module Jsoo_runtime.Effect
Source
Passing a function f
as argument of `assume_no_perform` guarantees that, when compiling with `--effects=double-translation`, the direct-style version of f
is called, which is faster than the CPS version. As a consequence, performing an effect in a transitive callee of f
will raise `Effect.Unhandled`, regardless of any effect handlers installed before the call to `assume_no_perform`, unless a new effect handler was installed in the meantime.
This behaviour is the same when double translation is disabled.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>