mdx.top
Mdx_top
Toplevel logic for mdx.
mdx
type t
The type for configuration values.
val init : verbose:bool -> silent:bool -> verbose_findlib:bool -> unit -> t
init () is a new configuration value.
init ()
val eval : t -> string list -> (string list, string list) Result.result
eval t p evaluates the toplevel phrase p (possibly spawning on mulitple lines) with the configuration value t.
eval t p
p
t
val in_env : string -> (unit -> unit) -> unit