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.4.0.tbz
sha256=7ae22a7e5a6c6aa14a8e2695fa62c66f32cb20db17f1b45dc21e97009342151f
sha512=6cea398d61d4be8e38e912ba7e4bad4f7b81b10d946cdf29026274b5a4b2cc2709fb75e23f7cbe2db335cc65679c262a8aa1b9148effc987d6e79665a7538286

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