dropWhile -base -containers

dropWhile :: (Char -> Bool) -> ByteString -> ByteString
bytestring Data.ByteString.Char8, bytestring Data.ByteString.Lazy.Char8
dropWhile p xs returns the suffix remaining after takeWhile p xs.
dropWhile :: (Char -> Bool) -> Text -> Text
text Data.Text, text Data.Text.Lazy
O(n) dropWhile p t returns the suffix remaining after takeWhile p t. Subject to fusion.
dropWhile :: (Word8 -> Bool) -> ByteString -> ByteString
bytestring Data.ByteString, bytestring Data.ByteString.Lazy
dropWhile p xs returns the suffix remaining after takeWhile p xs.
dropWhileEnd :: (Char -> Bool) -> Text -> Text
text Data.Text.Lazy
O(n) dropWhileEnd p t returns the prefix remaining after dropping characters that fail the predicate p from the end of t. Examples: > dropWhileEnd (=='.') "foo..." == "foo"
dropWhileEnd :: (Char -> Bool) -> Text -> Text
text Data.Text
O(n) dropWhileEnd p t returns the prefix remaining after dropping characters that fail the predicate p from the end of t. Subject to fusion. Examples: > dropWhileEnd (=='.') "foo..." == "foo"