module Sexp:sig
..end
Sexplib.Sexp
.Sexplib.Sexp
.val is_atom : Core.Sexp.t -> bool
val is_list : Core.Sexp.t -> bool
val atom : string -> Core.Sexp.t
val list : Core.Sexp.t list -> Core.Sexp.t
val to_string_hum' : Core.Sexp.t -> string
val format : Core.Sexp.t -> Pp.t
val pp_hum' : Format.formatter -> Core.Sexp.t -> unit
val comment : string -> string
module Diff:sig
..end
val print_diff : ?oc:Pervasives.out_channel -> Core.Sexp.t -> Core.Sexp.t -> unit
val summarize : Core.Sexp.t ->
sub_sexp:Core.Sexp.t ->
size:[ `depth of int | `string of int ] -> Core.Sexp.t
Limiting size to length a string length is less efficient than a certain depth. The
meaning of a given depth is arbitrary except that more depth gives you a bigger sexp. Try
100 or so.
val of_sexp_allow_extra_fields : (Core.Sexp.t -> 'a) -> Core.Sexp.t -> 'a
of_sexp_allow_extra_fields of_sexp sexp
uses of_sexp
to convert sexp
to a
value, but will not fail if there any extra fields in a record.val filter_record : (Core.Sexp.t -> 'a) -> string list -> Core.Sexp.t -> 'a
module Records_table:sig
..end
module Make_explicit_sexp_option:functor (
T
:
sig
type
t
val explicit_sexp_option_fields :string list
val t_of_sexp :Sexplib.Sexp.t -> t
val sexp_of_t :t -> Sexplib.Sexp.t
end
) ->
sig
..end
val load_sexp_conv_exn_sample : ?strict:bool ->
?buf:string ->
?on_non_existence:[ `Exit | `Raise ] ->
?name:string ->
string ->
sexp_of_t:('a -> Core.Sexp.t) ->
t_of_sexp:(Core.Sexp.t -> 'a) -> sample:'a -> 'a