Haskell Resources

If you haven’t programmed in Haskell before — or you have, but Informatics 1 seems but a distant memory — then you should learn some basics of the language. Read on for some suggestions.

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. The platform is not supported on Debian yet, though if you are on Ubuntu you can try these instructions.

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

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

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 98 Report (Revised) (also PDF, 820k), possibly followed by the GHC manual.

2 Responses to Haskell Resources

  1. s0963488 says:

    This is the link to the free Ebook “real world haskell” http://book.realworldhaskell.org/read .

    • ianstark says:

      That looks good; well-presented online too, with useful comments from readers.

      There are couple of Monad chapters, which cover the material in Lecture 9.