drop-while

added
1.0

ns
clojure.core

type
function

(drop-while pred) (drop-while pred coll)

Returns a lazy sequence of the items in coll starting from the
first item for which (pred item) returns logical false.  Returns a
stateful transducer when no collection is provided.

                ;; Note: Documentation should be "starting from the first item for which
;; (pred item) returns logical false, i.e. either of the values false or nil.

user=> (drop-while neg? [-1 -2 -6 -7 1 2 3 4 -5 -6 0 1])
(1 2 3 4 -5 -6 0 1)