pub fn compile_with_state<F, U, A, O, E>(
f: F,
shapeless: impl Into<Option<bool>>,
) -> impl for<'a> FnMut(&mut U, F::Args<'a>) -> Result<O, Exception>
Expand description
Similar to crate::transforms::compile
but allows for functions that take a mutable reference to a state.