package js_of_ocaml-compiler

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Flag : sig ... end
module Param : sig ... end

This module contains parameters that may be modified through command-line flags.

Parameters that are constant across a program run

These parameters should be set at most once at the beginning of the program.

val target : unit -> [ `JavaScript | `Wasm ]
val set_target : [ `JavaScript | `Wasm ] -> unit
type effects_backend = [
  1. | `Disabled
  2. | `Cps
  3. | `Double_translation
  4. | `Jspi
]
val effects : unit -> effects_backend
val set_effects_backend : effects_backend -> unit
OCaml

Innovation. Community. Security.