js_of_ocaml

Compiler from OCaml bytecode to JavaScript
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library js_of_ocaml
type readyState =
| UNSENT
| OPENED
| HEADERS_RECEIVED
| LOADING
| DONE
type _ response =
| ArrayBuffer : Typed_array.arrayBuffer Js.t Js.Opt.t response
| Blob : File.blob Js.t Js.Opt.t response
| Document : Dom.element Dom.document Js.t Js.Opt.t response
| JSON : 'a Js.Opt.t response
| Text : Js.js_string Js.t response
| Default : string response
class type xmlHttpRequest = object ... end
class type xmlHttpRequestUpload = object ... end
val create : unit -> xmlHttpRequest Js.t

The next part of this module allow one to use Ocaml with no need for Javascript documentation.

module Event : sig ... end