Y
Hacker News
new
|
ask
|
show
|
jobs
by
jfkebwjsbx
2180 days ago
The point of GP is that the match assumes an equality test and it does it against a single object too.
There is no way in many languages to write an if using a match.