|
Text.XML.HXT.DOM.Util | Portability | portable | Stability | stable | Maintainer | Uwe Schmidt (uwe@fh-wedel.de) |
|
|
|
Description |
Little useful things for strings, lists and other values
|
|
Synopsis |
|
|
|
Documentation |
|
|
remove leading and trailing whitespace with standard Haskell predicate isSpace
|
|
|
convert string to lowercase with standard Haskell toLower function
|
|
|
convert string to uppercase with standard Haskell toUpper function
|
|
|
Removes leading / trailing whitespaces and leading zeros
|
|
|
Reduce whitespace sequences to a single whitespace
|
|
|
replace all whitespace chars by blanks
|
|
|
Escape all disallowed characters in URI
references (see http://www.w3.org/TR/xlink/#link-locators)
|
|
|
escape XML chars < and ampercent by transforming them into character references, used for escaping text nodes
see also : attrEscapeXml
|
|
|
escape XML chars <, >, ", and ampercent by transforming them into character references
see also : attrEscapeXml
|
|
|
escape XML chars in attribute values, same as stringEscapeXml, but none blank whitespace
is also escaped
see also : stringEscapeXml
|
|
|
|
|
convert a string into a hexadecimal string applying charToHexString
see also : charToHexString
|
|
|
convert a char (byte) into a 2-digit hexadecimal string
see also : stringToHexString, intToHexString
|
|
|
convert a none negative Int into a hexadecimal string
see also : charToHexString
|
|
|
convert a string of hexadecimal digits into an Int
|
|
|
convert a string of digits into an Int
|
|
|
take all elements of a list which occur more than once. The result does not contain doubles.
(doubles . doubles == doubles)
|
|
|
drop all elements from a list which occur more than once.
|
|
|
remove duplicates from list
|
|
swap :: (a, b) -> (b, a) | Source |
|
|
|
|
|
|
uncurry3 :: (a -> b -> c -> d) -> (a, b, c) -> d | Source |
|
mothers little helpers for to much curry
|
|
uncurry4 :: (a -> b -> c -> d -> e) -> (a, b, c, d) -> e | Source |
|
|
Produced by Haddock version 2.4.2 |