Both Haskell and Gtk3 for Haskell are available for most Linux systems.
Haskell itself ist installed with this command:
sudo apt-get install haskell-platform
To install Gtk-3 support for Haskell, do:
sudo apt-get install libghc-gtk3-dev
A package with programming manuals for both Gtk-3 and Cairo is available for most Linux distributions. It is installed with the command
sudo apt-get install libghc-gtk3-doc
The documentation for Gtk3 is stored in folder /usr/share/doc/libghc-gtk3-doc/html. The documentation for cairo is stored in folder /usr/share/doc/libghc-cairo-doc/html.
Preparing the documentation for use with Doc-Central
Regrettably the documents from package libghc-gtk3-doc are not immediately readable with the Doc-Central document reader. To make them readable, you have to provide some missing files.
Installing Doc-Central
Doc-Central is an Apache-based utility to read documentation in the web browser.
....