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.3.0.tbz
sha256=cbca9aceade642734252e939a6476914604888d0a2552ca6dfc30b6047e612c0
sha512=01bd6ce2d20e5a8541d87602dce6987d3739b42d93a8290ff0c5f6a131034c0f4c569d94ecd8d2f259f3ff804066cbcd55271dd5c7f122aae3f6feb5d8f6ac55

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

Module Jsoo_runtime.SysSource

Sourcetype 'a callback = 'a
Sourceval create_file : name:string -> content:string -> unit
Sourceval read_file : name:string -> string
Sourceval set_channel_output' : out_channel -> (js_string:Js.t -> unit) callback -> unit
Sourceval set_channel_input' : in_channel -> (unit -> string) callback -> unit
Sourceval mount_point : unit -> string list
Sourceval mount_autoload : string -> (string -> string -> string option) callback -> unit
Sourceval unmount : string -> unit
Sourcetype redirection
Sourceval redirect_channel : out_channel -> into:out_channel -> redirection
Sourceval restore_channel : out_channel -> redirection -> unit
Sourcemodule Config : sig ... end
Sourceval version : string
Sourceval git_version : string