2 ms·
Does it support matching patterns in data structures? f [ [1, _]. [3, _] ] = ... f [ [], [10, 20] ] = ...
by dunefox 4y ago
Does it support matching patterns in data structures?
f [ [1, _]. [3, _] ] = ...
f [ [], [10, 20] ] = ...
- kaba0 4y agoGiven 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.