Module System.URL

Author
Michael Hanus
Version
July 2023

Library for dealing with URLs (Uniform Resource Locators).

Exported Functions:

Exported Functions


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.