package telegraml

  1. Overview
  2. Docs
exception ApiException of string
val get_field : 'a -> [> `Assoc of ('b * 'c) list ] -> 'd
val get_opt_field : 'a -> [> `Assoc of ('b * 'c) list ] -> 'd option
val (>>=) : 'a option -> ('b -> 'c option) -> 'c option
val (<$>) : ('a -> 'b) -> 'c option -> 'd option
val the_string : [> `String of 'a ] -> 'b
val this_string : 'a -> [> `String of 'a ]
val the_int : [> `Int of 'a ] -> 'b
val this_int : 'a -> [> `Int of 'a ]
val the_bool : [> `Bool of 'a ] -> 'b
val this_bool : 'a -> [> `Bool of 'a ]
val the_float : [> `Float of 'a ] -> 'b
val this_float : 'a -> [> `Float of 'a ]
val the_list : [> `List of 'a ] -> 'b
val this_list : 'a -> [> `List of 'a ]
val the_assoc : [> `Assoc of 'a ] -> 'b
val this_assoc : 'a -> [> `Assoc of 'a ]
val (+?) : ('a * 'b) list -> ('c * 'd option) -> ('a * 'b) list
module Result : sig ... end
val hd_ : 'a list -> 'b Result.result