package js_of_ocaml
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Compiler from OCaml bytecode to JavaScript
Install
dune-project
Dependency
Authors
Maintainers
Sources
js_of_ocaml-3.10.0.tbz
sha256=7bfe95c283e30a53df9364555517aa4ea614876be566a86b33e6d0fefc4a6126
sha512=1815f0bfcea65a28082293756350a9365304584d3a19af0983e1498c6f8d7d25a751aec18560aa7b633b64b8adfb4417e9647cdf703bedcb7aaf316abf9a3243
doc/js_of_ocaml.deriving/Deriving_Json/index.html
Module Deriving_Json
Typesafe IO (based on the deriving library).
val make :
(Buffer.t -> 'a -> unit) ->
(Deriving_Json_lexer.lexbuf -> 'a) ->
'a tval read : 'a t -> Deriving_Json_lexer.lexbuf -> 'aval to_string : 'a t -> 'a -> stringto_string Json.t<ty> v marshal the v of type ty to a JSON string.
val from_string : 'a t -> string -> 'afrom_string Json.t<ty> s safely unmarshal the JSON s into an OCaml value of type ty. Throws Failure if the received value isn't the javascript representation of a value of type ty.
module type Json = sig ... endThe signature of the JSON class.
Deriver
module type Json_min = sig ... endmodule type Json_min' = sig ... endmodule type Json_min'' = sig ... endmodule Defaults'' (J : Json_min'') : Json with type a = J.amodule Json_int32 : Json with type a = int32module Json_int64 : Json with type a = int64module Json_nativeint : Json with type a = nativeintmodule Json_float : Json with type a = floatmodule Json_string : Json with type a = stringval read_list :
(Deriving_Json_lexer.lexbuf -> 'a) ->
Deriving_Json_lexer.lexbuf ->
'a listval read_ref :
(Deriving_Json_lexer.lexbuf -> 'a) ->
Deriving_Json_lexer.lexbuf ->
'a refval read_option :
(Deriving_Json_lexer.lexbuf -> 'a) ->
Deriving_Json_lexer.lexbuf ->
'a optionval read_array :
(Deriving_Json_lexer.lexbuf -> 'a) ->
Deriving_Json_lexer.lexbuf ->
'a array sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>