Y
Hacker News
new
|
ask
|
show
|
jobs
by
yawaramin
1955 days ago
The example is not just destructuring though. It's actually matching against a data constructor and in another branch binding a name to a value. Those are classic hallmarks of pattern matching.