Currently, lambdas are first collected for inlining and then the inlining is applied until execution finishes. In this case, the lambda is OK to inline as it is short, but replacing the body results in and endless loop of inlining for whatever reason (it works in the REPL, and there are more examples of recursive functions that work as expected).
Currently, lambdas are first collected for inlining and then the inlining is applied until execution finishes. In this case, the lambda is OK to inline as it is short, but replacing the body results in and endless loop of inlining for whatever reason (it works in the REPL, and there are more examples of recursive functions that work as expected).