pub struct BetaReduce;Expand description
Beta reduction pass: find App { fun, arg } where fun is a Lam { binder, body }.
Replaces it with subst(body, binder, arg).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BetaReduce
impl RefUnwindSafe for BetaReduce
impl Send for BetaReduce
impl Sync for BetaReduce
impl Unpin for BetaReduce
impl UnsafeUnpin for BetaReduce
impl UnwindSafe for BetaReduce
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more