4 ms·
(def order {:amount 5.45 :currency "dollar" :paid true})
by cutler 5y ago
(def order
{:amount 5.45
:currency "dollar"
:paid true})
- Zababa 5y agoWhich is why I called this a strawman. The tradeoff is that you have to check yourself for the ":paid true" instead of having the compiler checking that you're taking a PaidOrder type.