Next: , Previous: , Up: srfi sets-and-bags   [Index]


2.37.4 Accessors

Function: set-member set element default
Function: bag-member bag element default

Return the element of set or bag that is equal, in the sense of the comparator’s equality predicate, to element. If element is not a member of set or bag: return default.

Function: set-element-comparator set
Function: bag-element-comparator bag

Return the comparator used to compare the elements of set or bag.