package brr

  1. Overview
  2. Docs
Browser programming toolkit for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

brr-0.0.9.tbz
sha512=45cdf73c6a23c8fc4609a32ae2196d4790e5bdba34ca0b784bff9c0b70dab233eb336f1c11dc3002451042ff4cf25b643098ad0d011f14c3d6175842113bed21

doc/brr.poke/Brr_poke/index.html

Module Brr_pokeSource

OCaml poke object definition for the OCaml console.

See the OCaml console documentation for more information.

Sourceval define : unit -> unit

define () defines a global ocaml_poke object in the global context of the caller.

Limitation. Due to Js_of_ocaml_toplevel.JsooTop, this poke object sets channel flusher via Jsoo_runtime.Sys.set_channel_output' for stdout and stderr. This will not work if your application makes use of these channels. It's unclear whether this limitation can be easily lifted.

Sourceval pp_jstr : Format.formatter -> Jstr.t -> unit
Sourceval pp_jv_error : Format.formatter -> Jv.Error.t -> unit
Sourceval pp_jv : Format.formatter -> Jv.t -> unit