| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
n-th element of
list equals to obj (in the sense of eq? for memq,
eqv? for memv, and equal? for member),
(list-tail list n) is returned.
Otherwise, #f is returned.
If you use SRFI-1 (See section 10.2 srfi-1 - List library), member is extended
to take optional argument for a equality procedure.
(memq 'a '(a b c)) => (a b c) (memq 'b '(a b c)) => (b c) (memq 'a '(b c d)) => #f (memq (list 'a) '(b (a) c)) => #f (memv 101 '(100 101 102)) => (101 102) |
eq? for assq,
eqv? for assv, and equal? for assoc)
from left to right, and return the leftmost matched pair if any.
If no pair matches, these return #f.
If you use SRFI-1 (See section 10.2 srfi-1 - List library), assoc is extended
to take optional argument for a equality procedure.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |