chickadee » srfi-116 » idrop-while

idrop-while pred ilistprocedure

idrops the longest initial prefix of ilist whose elements all satisfy the predicate pred, and returns the rest of the ilist.

(idrop-while even? (iq 2 18 3 10 22 9)) ;=> (3 10 22 9)