|
|
|
|
|
by tubthumper8
769 days ago
|
|
Some languages do this already but with a designated placeholder, like filter(_.price < 10)
That may not work because plain underscore is already a valid identifier but another placeholder could potentially be used and no need for the parser backtracking / function insertion (which I don't like the idea of, there may be cases where an undeclared identifier was a bug and it shouldn't be turned into a function) |
|