Haskell Documentation
Haskell 98 Report (PDF)
Haskell standard prelude and libraries
Hugs user guide
WASH online documentation
Hugs Installation on Linux / OS X
To install Hugs on your own linux or OS X machine, proceed as follows.
(Windows instructions are below.)
- Download the latest Hugs tarball from http://haskell.org/hugs
and unpack it.
- To install it in the standard place (/usr/local/bin), do (in the main
hugs directory)
./configure
make
sudo make install
To install in your own filespace, do (for example)
./configure --prefix $HOME/hugs
make
make install
- Test that things are working by typing:
hugs
- Grab the SOE graphics library zipfile
(nb: use this one, not the one available on the Haskell web site, which
is out of date) and unpack it.
- Compile the x11 support:
make -C lib/x11/
- Test that it's working:
runhugs -Plib/x11: demos/HelloWorld.hs
- Install the files in the /libraries subdirectory of your
hugs installation:
sudo cp -r lib/x11/* /usr/local/lib/hugs/libraries/
- Test that the installation worked:
runhugs demos/HelloWorld.
Hugs Installation on Windows
- Download the Windows version of Hugs98 from http://cvs.haskell.org/Hugs/pages/downloading.htm and
install into a folder.
The remainder of the steps assume the
program is installed in a folder C:\Hugs98
- Download the SOE graphics library zipfile (as in step 4 for Linux/OSX)
and unzip it into C:\Hugs98. It should be in a folder named C:\Hugs98\GraphicsLib-111504\
- In the GraphicsLib-111504 folder, there shold be a folder named x11\.
Move the entire x11\ folder into C:\Hugs98\libraries\
- Move all of the contents of C:\Hugs98\GraphicsLib-111504\win32
(not the folder itself!!!) into C:\Hugs98\libraries\win32\
- Test this by opening C:\Hugs98\GraphicsLib-111504\demos\HelloWorld.hs
(Thanks to Chris Wingard for these instructions.)
|