The Australian National
      University
Faculty of Engineering and Information Technology (FEIT)
Department of Computer Science
Printer Friendly Version of this
    Document
COMP1100 Introduction to Programming & Algorithms

Introduction to Programming and Algorithms - COMP1100

Semester 1, 2009

Haskell Resources

Basic references

http://haskell.org/

The biggest collection of Haskell-related material.

More advanced references

  • Haskell Hierarchical Libraries
  • The GHC user guide
  • The Haskell 98 Report
  • If you can get past the name, Learn You a Haskell for Great Good! is a beginners guide to Haskell, aimed at people who have experience in imperative programming languages but haven't programmed in a functional language before. Be aware that the content, emphasis and approach may be different from COMP1100.
  • Real World Haskell. COMP1100 uses Haskell to introduce basic programming concepts - it is not a course in Haskell programming per se. If you want to get an idea of real Haskell programming, take a look at this very advanced reference.

The ANUPlot Graphics Library

If the library is required for an assignment or practical class, it will be provided directly. If you want to try it out for youself, you can get it here: Download the library, documentation, and some example programs.

GHC on your own computer

To get Haskell on your home computer, you can download the (Glorious) Glasgow Haskell Compiler from the GHC web site. GHC 6.10 is the latest release version. Last time I checked our local installation was version 6.8.

To save bandwidth (and your download quota), we have a couple of packages available here. Burn to CD and take it away.

  • Mac OS 10.5 Leopard package. The installer expects XCode 3.0 to be already installed, which you'll find on the Leopard installation DVD or at the Apple website.
  • MS Windows installer. Here are some suggestions for working with GHC under MS Windows which are not necessarily up to date.
  • If you're running Ubuntu on your home machine (as we do in our student laboratories), you can download and install GHC using the Synaptics installer which is a standard part of Ubuntu.
  • For other platforms, look around the GHC website. Thrill-seekers may find other tasty morsels at http://haskell.org/.

Editors

  • For Mac OS X users, there is an Aqua Emacs Package available from Aquamacs or here.
    If you are a Mac OS X user and have any other editor recommendations (preferably free) please post to the COMP1100 Discussion Forum.
  • In case it's not pre-installed, here is a Haskell mode for emacs: syntax highlighting, type hints, and more.
  • MS Windows users, please don't use notepad.
    Notepad++ is free and has nice syntax highlighting and colouring for lots of languages including Haskell. An alternative is the Crimson Editor but past students have recommended Notepad++.

Linux

If you would like to install Linux on your own machine, you can save bandwidth by burning a local copy to CD. To burn a 8.10 (Intrepid) KUbuntu CD on the DCS Student system do the following:
  • Open an terminal (Kterm, Xterm, etc)
  • cd /scratch
  • wget http://mirror.linux.org.au/ubuntu-releases/kubuntu/8.10/kubuntu-8.10-desktop-i386.iso
    (The mirror has all the releases browsing around http://mirror.linux.org.au/ubuntu-releases/ should let anyone find them all.)
  • Put a blank CD in the drive on the machine.
  • Type cdrecord -v -data -dao speed=24 kubuntu-8.10-desktop-i386.iso
  • Take it away.

If you discover any resources (references, examples, editors, tools, ...) that you think your classmates may find useful or interesting, please share by posting to the COMP1100 Discussion Forum.