Module System.URL

Library for dealing with URLs (Uniform Resource Locators).

Author: Michael Hanus

Version: July 2023

Summary of exported operations:

getContentsOfUrl :: String -> IO String  Deterministic 
Reads the contents of a document located by a URL.
getContentsOfURL :: String -> IO String  Deterministic 
Reads (quietly) the contents of a document located by a URL.

Exported operations:

getContentsOfUrl :: String -> IO String  Deterministic 

Reads the contents of a document located by a URL. This action requires that the program curl or wget is in your path, otherwise an error is raised. Included for backward compatibility.

getContentsOfURL :: String -> IO String  Deterministic 

Reads (quietly) the contents of a document located by a URL. This action requires that the program "wget" is in your path, otherwise the implementation must be adapted to the local installation.