Safe Haskell | None |
---|---|
Language | Haskell98 |
A variant of ByteString where strings differing in the case of some of its characters are identified.
- data ByteString
- sensitize :: ByteString -> ByteString
- unsensitize :: ByteString -> ByteString
- concat :: [ByteString] -> ByteString
- intercalate :: ByteString -> [ByteString] -> ByteString
- pack :: String -> ByteString
- unpack :: ByteString -> String
Documentation
data ByteString Source
Wrapper for case insensitive strings.
sensitize :: ByteString -> ByteString Source
Project back to a regular bytestring.
unsensitize :: ByteString -> ByteString Source
Inject a bytestring into a case insensitive bytestring. Note that the case of all letters in the ByteString is folded to lower case.
concat :: [ByteString] -> ByteString Source
intercalate :: ByteString -> [ByteString] -> ByteString Source
pack :: String -> ByteString Source
unpack :: ByteString -> String Source