scanl1 -base -containers

scanl1 :: (Char -> Char -> Char) -> ByteString -> ByteString
bytestring Data.ByteString.Char8
scanl1 is a variant of scanl that has no starting value argument: > scanl1 f [x1, x2, ...] == [x1, x1 `f` x2, ...]
scanl1 :: (Char -> Char -> Char) -> Text -> Text
text Data.Text, text Data.Text.Lazy
O(n) scanl1 is a variant of scanl that has no starting value argument. Subject to fusion. Performs replacement on invalid scalar values. > scanl1 f [x1, x2, ...] == [x1, x1 `f` x2, ...]
scanl1 :: (Word8 -> Word8 -> Word8) -> ByteString -> ByteString
bytestring Data.ByteString
scanl1 is a variant of scanl that has no starting value argument. This function will fuse. > scanl1 f [x1, x2, ...] == [x1, x1 `f` x2, ...]