package alba

  1. Overview
  2. Docs
type path_element =
  1. | Name of string
  2. | Index of int
type error =
  1. | Int
  2. | Bool
  3. | String
  4. | Field of string
type problem = error * path_element list
module Result : sig ... end
type 'a t = Fmlib.Common.Void.t Js_of_ocaml.Js.t -> 'a option
val return : 'a -> 'a0 t
val typeof : 'a Js_of_ocaml.Js.t -> string
val float : float t
val int : int t
val string : string t
val bool : bool t
val field : string -> 'a t -> 'a0 t
val map : ('a -> 'b) -> 'a0 t -> 'b0 t
val (>>=) : 'a t -> ('a0 -> 'b t) -> 'b0 t