3 ms·
Awesome pattern matching. Although, it seems like not all functions are intuitively reversible like the vector example given here. It seems like perhaps a more
by adamgluck 11y ago
Awesome pattern matching. Although, it seems like not all functions are intuitively reversible like the vector example given here.
It seems like perhaps a more pragmatic example of this syntax is the "with" syntax in python, which provides the same benefit with more flexibility.