2 ms·
I think using arrows would be nicer, especially for complex destructuring / pattern matching, and you arrows are incredibly clear. A complex destructuring case
by ben509 9y ago
I think using arrows would be nicer, especially for complex destructuring / pattern matching, and you arrows are incredibly clear.
A complex destructuring case would be something like this:
{cashMoney -> foo, stuff: {powerLevel -> bar} <- {cashMoney: 5000, stuff: {powerLevel: 8999}}
I think the arrows nicely indicate where data is flowing, and it's unambiguous what is a variable name and what is a field name.