[CLJ-1305] Add optional not-found argument when invoking vectors or sets as functions Created: 12/Dec/13 Updated: 12/Nov/14
|Affects Version/s:||Release 1.5|
Maps, keywords, and symbols when used as operators allow optional second arguments for 'default-not-found' values is if to 'get'.
However sets don't support this behavior (though they do with 'get') and vectors don't allow the optional default-not-found in their pseudo 'nth' semantics.
|Comment by Pepijn de Vos [ 12/Nov/14 1:31 PM ]|
I fixed the problem with Dirk at the Amsterdam Clojurians Hackathon.
|Comment by Bozhidar Batsov [ 12/Nov/14 3:15 PM ]|
Guess you can add a couple of unit tests as well.