The call stacks end up super deep and the order of operations strange. Have you considered a refactor where lens.....get() is compiled into a function block where .F(getter) corresponds to string2 = getter(int5), .Recur(Foo) corresponds to for foo in recur(Foo, bar):, etc.? If the only reason against is months of tedious refactoring, say so - they might be the kind that AI tools these days solve.
The call stacks end up super deep and the order of operations strange. Have you considered a refactor where
lens.....get()is compiled into a function block where.F(getter)corresponds tostring2 = getter(int5),.Recur(Foo)corresponds tofor foo in recur(Foo, bar):, etc.? If the only reason against is months of tedious refactoring, say so - they might be the kind that AI tools these days solve.