4 ms·
That exception message would be lying some of the time: user> (get-or-throw {:k nil} :k) RuntimeException could't find key :k in map {:k nil} user/get-or-
by ivank 14y ago
That exception message would be lying some of the time:
user> (get-or-throw {:k nil} :k)
RuntimeException could't find key :k in map {:k nil} user/get-or-throw (NO_SOURCE_FILE:4)
- islon 14y agoYou are right, but that's easily fixable with a (if (contains? map key)