|
Happstack.Util.ByteStringCompat |
|
|
Description |
Compatiblity for ByteStrings
|
|
Synopsis |
|
|
|
Documentation |
|
|
Semantically equivalent to break on strings
|
|
|
breakCharEnd behaves like breakChar, but from the end of the
ByteString.
breakCharEnd ('b') (pack "aabbcc") == ("aab","cc")
and the following are equivalent:
breakCharEnd 'c' "abcdef"
let (x,y) = break (=='c') (reverse "abcdef")
in (reverse (drop 1 y), reverse x)
|
|
|
Drops leading spaces in the ByteString
|
|
|
Drops trailing spaces in the ByteString
|
|
|
Chunk a lazy bytestring into reasonable chunks - is id from outside.
This is useful to make bytestring chunks reasonable sized for e.g.
compression.
|
|
Produced by Haddock version 2.5.0 |