|
|
|
|
|
by metalrain
2985 days ago
|
|
I think match cases should be functions, since you have built those anyway. So instead of match (x) { expr... } you would have something like
match(x, [ fn... ]) or
match(x) { name: fn, name2: fn2 }
where fn is like (objectToMatch) => { expr } |
|