Y
Hacker News
new
|
ask
|
show
|
jobs
by
dunefox
1415 days ago
Does it support matching patterns in data structures?
f [ [1, _]. [3, _] ] = ... f [ [], [10, 20] ] = ...
1 comments
kaba0
1415 days ago
Given that java doesn’t have too much syntax sugar for data structures, I doubt this will come, but other kinds of destructors will be possible.
link