pub fn run(source: &str) -> Io<Error, Value>Expand description
Lex, parse, and evaluate source against the empty environment with the
default fuel budget, returning the result wrapped in Io.
The caller drives the effect by calling .run() at the boundary. Until
then the work is suspended.
§Errors
Any of the underlying passes can fail; see Error.
§Examples
use lambda_cat::run;
let value = run(r"let id = \x. x in id id").run()?;
assert_eq!(format!("{value}"), "\\x. x");