assv

(assv obj alst)


Description:

Finds the pair who's car is eqv? to obj.


Arguments:

           alst -- the associative list to search

            obj -- a scheme object to search for


Returns: the pair who's car is eqv? to obj or #f


Related: assoc assq acons 


Examples:

(assv 4 '((4 . "four") (5 . "five"))) => (4 . "four")



Back to index