A Rust library that provides a flexible way to construct and extend the recursive function.
Let's say, we have a Box of a `RecurFn` implementation. ```rust let a = Box::new(recur_fn(|fib, n: u64| -> u64 { if n <= 1 { 1 } else { fib(n-1) + fib(n-2) } })); ``` When evaluating `a.call(3)`, it will first lookup the implementation of `RecurFn` for `Box<impl RecurFn>`, which goes to ```rust impl<Arg, Output, D: Deref> RecurFn<Arg, Output> for D where D::Target: DynRecurFn<Arg, Output>, ``` and it's `call` method goes to `dyn_body`. But what we want is to use `body` method.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by Jason5Lee and has received 0 comments.