scanr package:storablevector

scanr is the right-to-left dual of scanl.
scanr1 is a variant of scanr that has no starting value argument.