Open
Description
In ghci:
ghci > urlDecode "http://twitter.com/fred/statuses/200"
"http://twitter.com/fred/statuses/200"
ghci > urlDecode "http://twitter.com/%user_screen_name%/statuses/%id%"
"http://twitter.com/*** Exception: Char.digitToInt: not a digit 'u'
It would be vastly nicer if urlDecode
's type was something like String -> Either String String
.
Metadata
Metadata
Assignees
Labels
No labels