Haskell Resources

Lectures 6–8 will address some interesting uses of types in programming, with examples specifically from the Haskell language.

If you haven’t programmed in Haskell before — or you have, but Informatics 1 seems but a distant memory — then over the next week you should learn some basics of the language. The rest of this post suggests some resources, updating last year’s list with new material from students.

The Haskell Wiki is a good place to start learning. It’s also very helpful if you know some Haskell, but need to find out more about the language or libraries in order to use it in practice on something substantial.

You will need a working Haskell compiler. The Glasgow Haskell Compiler is already installed on DICE machines — type ghci at a command prompt for the interactive toplevel, and ghc for the compiler. GHC is also available for a dozen other distributions and platforms. If you are installing it yourself, try the Haskell Platform first, as that brings in a good supply of tools and libraries.

Once you have Haskell running, you can try out some examples, and read more about the language. Start with one of these:

These two books are more substantial sources:

There are more resource links on the web pages for Informatics 1: Functional Programming, including video of the lectures by Prof. Wadler in 2009 and 2010.

If you discover some other resource which you find particularly helpful, please post a link in the comments.

It may not suit everyone, but it’s also entirely possible to learn Haskell by inhaling the Haskell 2010 Report (also PDF, 1.5M), possibly followed by the current GHC manual.

Comments are closed.