package js_of_ocaml-compiler

  1. Overview
  2. Docs
Compiler from OCaml bytecode to JavaScript

Install

dune-project
 Dependency

Authors

Maintainers

Sources

js_of_ocaml-6.5.0.tbz
sha256=a991ce25175a5a13240c8bf64354b8f35e0a8d7223b90bef01ba32bc6f929cf4
sha512=ce476986cb2c78990f29b1d7a01bb173a0d30ad0e0a80ba7bde9aa8365952ed01eda4935d92a323b982b0c1c897b20ef01eabe75fe80e4da858f73f6a2d25232

doc/js_of_ocaml-compiler.runtime/Jsoo_runtime/index.html

Module Jsoo_runtimeSource

Sourcemodule Js : sig ... end
Sourcemodule Sys : sig ... end
Sourcemodule Error : sig ... end
Sourcemodule For_compatibility_only : sig ... end
Sourcemodule Typed_array : sig ... end
Sourcemodule Int64 : sig ... end
Sourcemodule Effect : sig ... end
Sourcemodule Promise : sig ... end

Low-level wrap/unwrap helpers for the Js_of_ocaml.Promise binding. Implemented in runtime/{js,wasm}/promise.{js,wat}. Wrapping is conditional on the value being thenable, so non-thenable values are passed through unchanged.