Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Synopsis
- type T = [Atom]
- type Atom = T
- fromString :: String -> T
- fromUnicodeString :: String -> T
- fromUnicodeStringInternetExploder :: String -> T
- toUnicodeStringOrFormat :: T -> String
- toUnicodeString :: T -> String
- toUnicodeStringDecodingEmbedError :: DecodingFctEmbedErrors -> T -> EmbeddedExceptions
- toLower :: T -> T
- toUpper :: T -> T
- toCanonicalUnicodeString :: T -> String
- equalIgnoreCase :: T -> T -> Bool
- elemIgnoreCase :: T -> [T] -> Bool
Documentation
fromString :: String -> T Source #
Literal translation from pure strings. This can only work, if the string does not contain special characters.
fromUnicodeString :: String -> T Source #
default routine
toUnicodeStringOrFormat :: T -> String Source #
toUnicodeString :: T -> String Source #
toUnicodeStringDecodingEmbedError :: DecodingFctEmbedErrors -> T -> EmbeddedExceptions Source #
Decode plain characters using the given decoder, and decode entities by HXT's XML entity table. Decoding errors for both conversions are embedded where they occur.
Convert characters to lower case. This uses ISO latin encoding and may fail for exotic characters.
toCanonicalUnicodeString :: T -> String Source #