Alternative f => [f a] -> f a -containers -base +network
On Windows operating systems, the networking subsystem has to be initialised using withSocketsDo before any networking operations can be used. eg.
> main = withSocketsDo $ do {...}
Although this is only strictly necessary on Windows platforms, it is harmless on other platforms, so for portability it is good practice to use it all the time.
Case normalization; cf. RFC3986 section 6.2.2.1 NOTE: authority case normalization is not performed
Encoding normalization; cf. RFC3986 section 6.2.2.2
Path segment normalization; cf. RFC3986 section 6.2.2.4
Turns all instances of escaped characters in the string back into literal characters.
Can be used to make a string valid for use in a URI.
Throw an IOError corresponding to the current socket error if the IO action returns a result of -1, but retries in case of an interrupted operation.
Throw an IOError corresponding to the current socket error if the IO action returns a result of -1, but retries in case of an interrupted operation. Checks for operations that would block and executes an alternative action before retrying in that case.
Throw an IOError corresponding to the current socket error if the IO action returns a result of -1. Discards the result of the IO action after error handling.