|
|
|
|
|
by amyjess
3433 days ago
|
|
> foo.on_click(lambda: x += 1) Mutation in lambdas is not compatible with your complaint about "inadequate support for high-level functional programming", as it goes against the principles of FP. You can't do that in Haskell either, and any FP purist would blanch at a statement like that. |
|
What about us FP pragmatists? Also in some domains I'd argue being a FP purist is the most pragmatic option.