package js_of_ocaml-toplevel
Compiler from OCaml bytecode to JavaScript
Install
Dune Dependency
Authors
Maintainers
Sources
js_of_ocaml-5.3.0.tbz
sha256=be9e3deeb98e5d28f1bcb2d9847c04d2885fc07ed58ccd8b08aa4b6628cd64d2
sha512=26ba67312747f63c1ab58e92a20fde635833275a56b0570c145e57c093a0412ea8dd6c1bce84a71fd321d76a4223b7e50843c4352f6515909ea1b0713b6cfe68
doc/js_of_ocaml-toplevel/Js_of_ocaml_toplevel/JsooTop/index.html
Module Js_of_ocaml_toplevel.JsooTop
Source
Helper for Js_of_ocaml Toplevel.
use fmt content
Execute commands content
. It does not print types nor values.
Source
val execute :
bool ->
?pp_code:Format.formatter ->
?highlight_location:(Location.t -> unit) ->
Format.formatter ->
string ->
unit
execute print fmt content
Execute content
. print
says whether the values and types of the results should be printed. pp_code
formatter can be use to output ocaml source during lexing.
Initialize Js_of_ocaml toplevel.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>