3 ms·
Actually my example is based on partial application involving anonymous functions. It's just hand compiled. I manually lifted the lambda to the top level, and
by kazinator 7y ago
Actually my example is based on partial application involving anonymous functions. It's just hand compiled.
I manually lifted the lambda to the top level, and de-anonymized it with a name. Then I realized that the only captured parameter had a binding to a string literal "Good Morning", so I propagated that literal into the closure body, eliminating the variable, and that variable's environment.
It ended up looking static due to the static literal, basically.