Instant is
off
|
Search plugin
|
Manual
|
haskell.org
takeWhileR
+containers
Packages
containers
takeWhileR
:: (a -> Bool) -> Seq a -> Seq a
containers
Data.Sequence
O(i)
applied to a predicate p and a sequence xs, returns the longest suffix (possibly empty) of xs of elements that satisfy p.
takeWhileR
p xs is equivalent to
reverse
(
takeWhileL
p (
reverse
xs)).
©
Neil Mitchell
2004-2012, version 4.2.11