Y
Hacker News
new
|
ask
|
show
|
jobs
by
eindiran
2176 days ago
A more Coconutty way to write this might be:
[1, 2, 3] |> map$(def (x) -> y = x + 1; return y)
Which looks even less Pythonic.