dropWhile package:text

O(n) dropWhile p t returns the suffix remaining after takeWhile p t.
dropWhile p xs returns the suffix remaining after takeWhile p xs. Properties
unstream . dropWhile p . stream = dropWhile p
O(n) dropWhileEnd p t returns the prefix remaining after dropping characters that satisfy the predicate p from the end of t. Examples:
>>> dropWhileEnd (=='.') "foo..."
"foo"
O(n) dropWhileEnd p t returns the prefix remaining after dropping characters that satisfy the predicate p from the end of t. Examples:
dropWhileEnd (=='.') "foo..." == "foo"