Brr_poke
OCaml poke object definition for the OCaml console.
See the OCaml console documentation for more information.
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 Js_of_ocaml
.Sys.set_channel_flusher 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.
val pp_jstr : Format.formatter -> Jstr.t -> unit
val pp_jv_error : Format.formatter -> Jv.Error.t -> unit
val pp_jv : Format.formatter -> Jv.t -> unit