Manatee.Toolkit.General.ByteString
- combine :: ByteString -> ByteString -> ByteString
- isBlankByteString :: ByteString -> Bool
- wrapLine :: Int -> [ByteString] -> [[ByteString]]
- splitWords :: ByteString -> [ByteString]
Documentation
combine :: ByteString -> ByteString -> ByteStringSource
Like System.FilePath.combine
, except for ByteString.
isBlankByteString :: ByteString -> BoolSource
Is blank string.
wrapLine :: Int -> [ByteString] -> [[ByteString]]Source
Wraps a list of words to a list of lines of words of a particular width.
splitWords :: ByteString -> [ByteString]Source
Like words
, but just split with first space char, don't truncates rest space char.