package js_of_ocaml-compiler
Compiler from OCaml bytecode to JavaScript
Install
dune-project
Dependency
Authors
Maintainers
Sources
js_of_ocaml-6.2.0.tbz
sha256=7cc641778d1b172a352a88333ee0e8c621365a0acfcd9b87e38bfddb8dd2a5da
sha512=da50c79e1ad667df22abe03d0928ee135729c90cf09279e3c4854aec66557e8600890ca58f550529de1b1a44698720890b97528df167fd9e10cce24c71e763e6
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)"
>