Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Lib

module Lib : sig..end

Eliom standard library


include Ocsigen_lib_base
include Eliom_lib_base
type file_info = Js_of_ocaml.File.file Js_of_ocaml.Js.t
val to_json : ?typ:'a Deriving_Json.t -> 'a -> string
val of_json : ?typ:'a Deriving_Json.t -> string -> 'a
module Url : sig..end
module String : sig..end
val raise_error : 
  ?exn:exn ->
  ?section:Logs.src -> ('a, unit, string, 'any) Stdlib.format4 -> 'a
val log_inspect : 'a -> unit

Print an object in the console.

val eliom_logs_src : Logs.src

Log section for logs generated by Eliom.

val alert : ('a, unit, string, unit) Stdlib.format4 -> 'a
val jsalert : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t -> unit
val confirm : ('a, unit, string, bool) Stdlib.format4 -> 'a
val debug_var : string -> 'a -> unit
val trace : ('a, unit, string, unit) Stdlib.format4 -> 'a
val unmarshal_js : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t -> 'a
val encode_header_value : typ:'a Deriving_Json.t -> 'a -> string
val make_cryptographic_safe_string : ?len:int -> unit -> string

Return a base-64 encoded cryptographic safe string of the given length. Not implemented client-side.

module Dom_reference : sig..end