InternetLib

InternetLib is a small Haskell library for accessing the internet, primarily for use with Fudgets, although many of the functions (e.g., the ones for dealing with HTML documents) do not depend on the Fudget library.

Most of the stuff here was originally not written with the intention to form a general library, but for a specific purpose: it was needed in the web browser WWWBrowser. This library is thus mostly a collection of reusable stuff from the implementation of WWWBrowser.

Other applications built on top of this library include:

The main ingredients of the library are:

The index lists everything exported from the library. The beginner index lists only the simple stuff (but more things should be classified as simple...).

The library may be extended in the future.

[Old] Compiling programs with hbc

To use InternetLib, you should import it:
import InternetLib

To compile programs using InternetLib, use the command

hbcxmake -contrib -i%InternetLib programname

History


Last modified: Sun Mar 23 22:13:13 CET 2025
Thomas Hallgren