scanr1 -base +bytestring

scanr1 :: (Char -> Char -> Char) -> ByteString -> ByteString
bytestring Data.ByteString.Char8
scanr1 is a variant of scanr that has no starting value argument.
scanr1 :: (Word8 -> Word8 -> Word8) -> ByteString -> ByteString
bytestring Data.ByteString
scanr1 is a variant of scanr that has no starting value argument.