definition:
|
urlencoded2string :: String -> String
urlencoded2string [] = []
urlencoded2string (c:cs)
| c == '+' = ' ' : urlencoded2string cs
| c == '%' = chr (case readHex (take 2 cs) of [(n,"")] -> n
_ -> 0)
: urlencoded2string (drop 2 cs)
| otherwise = c : urlencoded2string cs
|
demand:
|
argument 1
|
deterministic:
|
deterministic operation
|
documentation:
|
--- Translates an URL encoded string into equivalent ASCII string.
|
failfree:
|
_
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{({[]}) |-> {[]} || ({:}) |-> {:}}
|
name:
|
urlencoded2string
|
precedence:
|
no precedence defined
|
result-values:
|
{:,[]}
|
signature:
|
String -> String
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
possibly non-reducible on same data term
|