cabal-gild-1.3.1.0: Formats package descriptions.
Safe HaskellSafe-Inferred
LanguageHaskell2010

CabalGild.Unstable.Extra.ByteString

Synopsis

Documentation

replace :: ByteString -> ByteString -> ByteString -> ByteString Source #

Calling replace needle replacement haystack will replace every non-overlapping occurrence of needle in haystack with replacement.

https://github.com/haskell/bytestring/issues/307

splitOn :: ByteString -> ByteString -> [ByteString] Source #

Calling splitOn needle haystack will split haystack into a list of substrings using needle as the delimiter.

https://github.com/haskell/bytestring/issues/100