Instant is
off
Search plugin
Manual
haskell.org
scanr
-text +base
Packages
text
base
scanr
:: (a -> b -> b) -> b -> [a] -> [b]
base
Prelude
,
base
Data.List
scanr
is the right-to-left dual of
scanl
. Note that > head (scanr f z xs) == foldr f z xs.
scanr
1
:: (a -> a -> a) -> [a] -> [a]
base
Prelude
,
base
Data.List
scanr1
is a variant of
scanr
that has no starting value argument.