Module Sexp_macro__.Blocking_reader
val load_sexp : string -> Sexplib.Sexp.t
load_sexp file
like {!Sexp.load_sexp} file
, but resolves the macros contained in file
.
val load_sexps : string -> Sexplib.Sexp.t list
load_sexps file
like {!Sexp.load_sexps} file
, but resolves the macros contained in file
.
val load_sexp_conv : string -> (Sexplib.Sexp.t -> 'a) -> 'a Sexp_macro__.Macro.annot_conv
load_sexp_conv file f
uses load_sexp
and converts the result using f
.
val load_sexps_conv : string -> (Sexplib.Sexp.t -> 'a) -> 'a Sexp_macro__.Macro.annot_conv list
load_sexps_conv file f
uses load_sexps
and converts the result using f
.
val load_sexp_conv_exn : string -> (Sexplib.Sexp.t -> 'a) -> 'a
load_sexp_conv_exn file f
like load_sexp_conv
, but raises an exception in case of conversion error.
val load_sexps_conv_exn : string -> (Sexplib.Sexp.t -> 'a) -> 'a list
load_sexps_conv_exn file f
like load_sexps_conv
, but raises an exception in case of conversion error.
val included_files : string -> string list
included_files
returns the names of all files that will be loaded as result of macro expansion. This includes the file itself.