Function run
Source pub fn run(source: &str) -> Io<Error, Value>
Expand description
Lex, parse, and evaluate source with the default fuel budget, returning
just the resulting value.
§Errors
Any of the underlying passes can fail; see Error.
§Examples
use lambda_ref_cat::run;
let value = run(r"!ref (\x. x)").run()?;
assert_eq!(format!("{value}"), "\\x. x");