| Arc Cross Reference |
firstn-that[procedure] firstn-that n f xsReturns a list of up to n elements, each of which satisfies f in xs. (def firstn-that (n f xs)
(if (or (<= n 0) (no xs))
nil
(f (car xs))
(cons (car xs) (firstn-that (- n 1) f (cdr xs)))
(firstn-that n f (cdr xs))))
See also: firstn. | AboutAlphabetical Indexa b c d e f g h i j k l m n o p q r s t u v w x y z other ReleasesRelated |