This sounds really interesting, but I'm getting a bit confused trying to apply it to a simpler problem. Say I start with this recursive function to filter a list: def my_filter_recursive(l, f): if l: x, *xs = l if f(x):…
This sounds really interesting, but I'm getting a bit confused trying to apply it to a simpler problem. Say I start with this recursive function to filter a list: def my_filter_recursive(l, f): if l: x, *xs = l if f(x):…