Module Sexp_macro__.Blocking_reader
val load_sexp : ?allow_includes:bool -> string -> Sexplib.Sexp.t
load_sexp file
like{!Sexp.load_sexp} file
, but resolves the macros contained infile
.If
allow_includes
isfalse
then this raises an exception iffile
contains any :include macros. The default istrue
.
val load_sexps : ?allow_includes:bool -> string -> Sexplib.Sexp.t list
load_sexps file
like{!Sexp.load_sexps} file
, but resolves the macros contained infile
.If
allow_includes
isfalse
then this raises an exception iffile
contains any :include macros. The default istrue
.
val load_sexp_conv : ?allow_includes:bool -> string -> (Sexplib.Sexp.t -> 'a) -> 'a Sexp_macro__.Macro.annot_conv
load_sexp_conv file f
usesload_sexp
and converts the result usingf
.
val load_sexps_conv : ?allow_includes:bool -> string -> (Sexplib.Sexp.t -> 'a) -> 'a Sexp_macro__.Macro.annot_conv list
load_sexps_conv file f
usesload_sexps
and converts the result usingf
.
val load_sexp_conv_exn : ?allow_includes:bool -> string -> (Sexplib.Sexp.t -> 'a) -> 'a
load_sexp_conv_exn file f
likeload_sexp_conv
, but raises an exception in case of conversion error.
val load_sexps_conv_exn : ?allow_includes:bool -> string -> (Sexplib.Sexp.t -> 'a) -> 'a list
load_sexps_conv_exn file f
likeload_sexps_conv
, but raises an exception in case of conversion error.