Y
Hacker News
new
|
ask
|
show
|
jobs
by
lizmat
774 days ago
That's exactly what the Raku Programming Language does. Except that the "x" is represented by "*", so it reads:
grep(*.price < 10)
This is referred to as "Whatever-currying":
https://docs.raku.org/type/Whatever
*