Module B00_serialk_sexp.Sexpq
type error_kind = [
| `Key_unbound of string * string list
| `Msg of string
| `Nth_unbound of int * int
| `Out_of_dom of string * string * string list
]
val app : ('a -> 'b) t -> 'a t -> 'b t
val ($) : ('a -> 'b) t -> 'a t -> 'b t
val pair : 'a t -> 'b t -> ('a * 'b) t
val bind : 'a t -> ('a -> 'b t) -> 'b t
val map : ('a -> 'b) -> 'a t -> 'b t
val some : 'a t -> 'a option t
val fold : atom:'a t -> list:'a t -> 'a t
val atom_to : kind:string -> (string -> ('a, string) result) -> 'a t
val fold_list : ('a -> 'b -> 'b) -> 'a t -> 'b -> 'b t
val list : 'a t -> 'a list t
val nth : ?absent:'a -> int -> 'a t -> 'a t
val delete_nth : must_exist:bool -> int -> Sexp.t t
val key : ?absent:'a -> string -> 'a t -> 'a t
val delete_key : must_exist:bool -> string -> Sexp.t t
val atomic : 'a t -> 'a t
val option : 'a t -> 'a option t