Completed
Details
Details
Assignee
Stuart Sierra
Stuart SierraReporter
Stuart Sierra
Stuart SierraApproval
Ok
Patch
Code and Test
Priority
Fix versions
Created February 17, 2012 at 9:19 PM
Updated August 18, 2012 at 1:50 PM
Resolved August 18, 2012 at 1:50 PM
The
contains?
function, given a collection which is not an associative (Map, Set, String, array), returns false instead of throwing an exception.This is a subject of confusion when people call
contains?
on sequential collections like lists, and on associative collections which do not implement theAssociative
interface.Other predicates, such as
even?
, throw an exception when passed arguments of an invalid type.