pub fn run(source: &str) -> Io<Error, Value>Expand description
Lex, parse, and evaluate source with the default fuel budget.
§Errors
See Error. An uncaught throw surfaces as Error::UncaughtException.
§Examples
use lambda_throw_cat::run;
let value = run(r"try throw (\x. x) catch e. e").run()?;
assert_eq!(format!("{value}"), "\\x. x");