|
|
|
| Description |
| Utility functions used internally in the Lucu httpd. These
functions may be useful too for something else.
|
|
| Synopsis |
|
|
|
| Documentation |
|
|
splitBy (== ':') "ab:c:def"
==> ["ab", "c", "def"]
|
|
| joinWith :: [a] -> [[a]] -> [a] | Source |
|
joinWith ":" ["ab", "c", "def"]
==> "ab:c:def"
|
|
|
trim (== '_') "__ab_c__def___"
==> "ab_c__def"
|
|
|
| isWhiteSpace c is True iff c is one of SP, HT, CR
and LF.
|
|
|
quoteStr "abc"
==> "\"abc\""
quoteStr "ab\"c"
==> "\"ab\\\"c\""
|
|
|
parseWWWFormURLEncoded "aaa=bbb&ccc=ddd"
==> [("aaa", "bbb"), ("ccc", "ddd")]
|
|
| Produced by Haddock version 2.4.2 |