package async_js

  1. Overview
  2. Docs
val log_s : Core_kernel.Sexp.t -> unit

Output a Sexp.t value to the console, e.g. via the message extensions:

log_s [%message "An example" (of_using:Ppx_message.t)]
val any_of_sexp : Core_kernel.Sexp.t -> Js.Unsafe.any

Convert a sexp expression into a JavaScript object. This can be used to output OCaml values to the console.

OCaml

Innovation. Community. Security.