j
k
j a
j l
Chris Moline writes:
dropWhile p = foldr (\x l' -> if p x then l' else x:l') []
invalid: dropWhile (< 5) [1, 10, 1] should return [10, 1]
Back to the thread
Back to the list