2 ms·
What is the advantage there that justifies bringing in another dependency? You've already got a let for binding parts of result and could use cond from clojure.
by roenxi 2y ago
What is the advantage there that justifies bringing in another dependency? You've already got a let for binding parts of result and could use cond from clojure.core instead of match. It'd be effectively identical.
- MathMonkeyMan 2y agoThe point of `match` is you can combine the destructuring with the conditional. It's also why Rich Hickey dislikes it.