type bigstring = (char, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t
include module type of sig ... end with type t := t
val equal : t ‑> t ‑> boolval compare : t ‑> t ‑> intexception Not_found_s of texception Of_sexp_error of exn * tval message : string ‑> (string * t) list ‑> tval default_indent : int Pervasives.ref
val pp_hum : Format.formatter ‑> t ‑> unitval pp_hum_indent : int ‑> Format.formatter ‑> t ‑> unitval pp_mach : Format.formatter ‑> t ‑> unitval pp : Format.formatter ‑> t ‑> unitval to_string_hum : ?indent:int ‑> t ‑> stringval to_string_mach : t ‑> stringval to_string : t ‑> stringval of_float_style : [ `No_underscores | `Underscores ] Pervasives.ref
val of_int_style : [ `No_underscores | `Underscores ] Pervasives.ref
include Private
val buffer : unit ‑> Buffer.t
val to_buffer_gen : buf:'buffer ‑> add_char:('buffer ‑> char ‑> unit) ‑> add_string:('buffer ‑> string ‑> unit) ‑> Sexplib0__Sexp.t ‑> unitval mach_maybe_esc_str : string ‑> string
val must_escape : string ‑> bool
val esc_str : string ‑> string
val with_new_buffer : Pervasives.out_channel ‑> (Buffer.t ‑> 'a) ‑> unit
val output_hum_indent : int ‑> Pervasives.out_channel ‑> Sexplib0__Sexp.t ‑> unitval save_of_output : ?perm:int ‑> (Pervasives.out_channel ‑> 'a ‑> 'b) ‑> string ‑> 'a ‑> unit
val output_sexp_nl : (Pervasives.out_channel ‑> 'a ‑> 'b) ‑> Pervasives.out_channel ‑> 'a ‑> unit
val output_sexps_nl : (Pervasives.out_channel ‑> 'a ‑> 'b) ‑> Pervasives.out_channel ‑> 'a list ‑> unit
val scan_sexp : ?buf:Buffer.t ‑> Lexing.lexbuf ‑> Type.tval scan_sexp_opt : ?buf:Buffer.t ‑> Lexing.lexbuf ‑> Type.t optionval scan_sexps : ?buf:Buffer.t ‑> Lexing.lexbuf ‑> Type.t listval scan_rev_sexps : ?buf:Buffer.t ‑> Lexing.lexbuf ‑> Type.t listval get_main_buf : Buffer.t option ‑> Lexing.lexbuf ‑> Parser.tokenval scan_fold_sexps : ?buf:Buffer.t ‑> f:('a ‑> Type.t ‑> 'a) ‑> init:'a ‑> Lexing.lexbuf ‑> 'aval scan_iter_sexps : ?buf:Buffer.t ‑> f:(Type.t ‑> unit) ‑> Lexing.lexbuf ‑> unitval scan_sexps_conv : ?buf:Buffer.t ‑> f:(Type.t ‑> 'a) ‑> Lexing.lexbuf ‑> 'a listmodule Annot : sig ... endtype ('a, 't) parse_result = type ('a, 't) parse_fun = pos:int ‑> len:int ‑> 'a ‑> ('a, 't) parse_resultmodule Make_parser : functor (T : sig ... end) -> sig ... endval mk_this_parse : ?parse_pos:Parse_pos.t ‑> (?parse_pos:Parse_pos.t ‑> ?len:'a ‑> 'b ‑> 'c) ‑> pos:int ‑> len:'a ‑> 'b ‑> 'cval of_string_bigstring : string ‑> (?parse_pos:Parse_pos.t ‑> ?len:'a ‑> 'b ‑> ('c, 'd) parse_result) ‑> 'c ‑> ('b ‑> 'e) ‑> ('b ‑> int ‑> 'e ‑> string) ‑> 'b ‑> 'dval of_string : string ‑> Type.tval get_bstr_sub_str : (char, 'a, 'b) Bigarray.Array1.t ‑> int ‑> int ‑> string
val bstr_ws_buf : (char, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t
val gen_load_rev_sexps : (?parse_pos:'a ‑> ?buf:'b ‑> Pervasives.in_channel ‑> 'c) ‑> ?buf:'b ‑> string ‑> 'c
val load_rev_sexps : ?buf:bytes ‑> string ‑> Type.t listval load_sexps : ?buf:bytes ‑> string ‑> Type.t listval gen_load_sexp_loc : string
val gen_load_sexp : (?parse_pos:Parse_pos.t ‑> ?len:int ‑> string ‑> (string, 'a) parse_result) ‑> ?strict:bool ‑> ?buf:bytes ‑> string ‑> 'aval load_sexp : ?strict:bool ‑> ?buf:bytes ‑> string ‑> Type.tval load_sexp_conv : ?strict:bool ‑> ?buf:bytes ‑> string ‑> (Type.t ‑> 'a) ‑> [> `Error of exn * Annotated.t | `Result of 'a ]val raise_conv_exn : file:string ‑> [< `Error of exn * Annotated.t | `Result of 'a ] ‑> 'aval load_sexp_conv_exn : ?strict:bool ‑> ?buf:bytes ‑> string ‑> (Type.t ‑> 'a) ‑> 'aval load_sexps_conv : ?buf:bytes ‑> string ‑> (Type.t ‑> 'a) ‑> [> `Error of exn * Annotated.t | `Result of 'a ] listval load_sexps_conv_exn : ?buf:bytes ‑> string ‑> (Type.t ‑> 'a) ‑> 'a listval of_string_conv : string ‑> (Type.t ‑> 'a) ‑> [> `Error of exn * Annotated.t | `Result of 'a ]val gen_of_string_conv_exn : ('a ‑> Type.t) ‑> 'a ‑> (Type.t ‑> 'b) ‑> 'bval of_string_conv_exn : string ‑> (Type.t ‑> 'a) ‑> 'aexternal sexp_of_t : t ‑> t = "%identity" external t_of_sexp : t ‑> t = "%identity" type found = [ | `Found |
| `Pos of int * found |
]val search_physical : t ‑> contained:t ‑> [ `Found | `Not_found | `Pos of int * found ]val subst_found : t ‑> subst:t ‑> [< `Found | `Pos of int * 'a ] as a ‑> t