CSE240 Getting Haskell

Jeffrey A. Meunier, jeffm@cse.uconn.edu
Spring 2001, University of Connecticut


  1. Haskell interpreter/compiler
  2. There are two implementations of Haskell that we will use:

    1. HUGS: This is a small but complete interpreter for the Haskell language. It lacks a few extensions that we will need later in the semester. It is available for most operating systems.

      To get started, just get the HUGS interpreter. The February 2000 version is the most recent, but the November 1999 version is sufficient:

    2. GHC: Don't get this until later in the semester. This is a large optimizing compiler for Haskell which includes extensions for pre-emptive multitasking and sockets. Unfortunately, it's not too easy to get the compiler running under Windows. In fact, it may be easier to install Linux and then install the Linux version of the compiler than to use the Windows version.

      You may also find it useful to install the GHC user's guide and library documentation.

  3. Documentation
    1. (Get this!) HUGS User's Guide

    2. (Optional) A Gentle Introduction to Haskell (http://www.haskell.org/tutorial). Download this document and print it out, or just keep it on your hard disk and read it on-line.

    3. Also, the library source code supplied with HUGS is a great place to find answers to some questions. In particular, the file ``Prelude.hs'' is the most useful.

    4. For any other information, just go to the Haskell web site: