Instant is
off
|
Search plugin
|
Manual
|
haskell.org
dropWhile
-text +base
Packages
text
base
dropWhile
:: (a -> Bool) -> [a] -> [a]
base
Prelude
,
base
Data.List
dropWhile
p xs returns the suffix remaining after
takeWhile
p xs: > dropWhile (< 3) [1,2,3,4,5,1,2,3] == [3,4,5,1,2,3] > dropWhile (< 9) [1,2,3] == [] > dropWhile (< 0) [1,2,3] == [1,2,3]
©
Neil Mitchell
2004-2012, version 4.2.11