Difference between revisions of "Learning Haskell"

From HaskellWiki
Jump to: navigation, search
m (Textbooks)
(Update cheatsheet URL)
Line 130: Line 130:
* [http://www.cs.uu.nl/helium/docs/TourOfPrelude.html Tour of the Helium Prelude]
* [http://www.cs.uu.nl/helium/docs/TourOfPrelude.html Tour of the Helium Prelude]
* [http://www.cs.ukc.ac.uk/people/staff/sjt/craft2e/errors/allErrors.html Some common Hugs error messages]
* [http://www.cs.ukc.ac.uk/people/staff/sjt/craft2e/errors/allErrors.html Some common Hugs error messages]
* [http://blog.codeslower.com/2008/10/The-Haskell-Cheatsheet The Haskell Cheatsheet] - A reference card and mini-tutorial in one.
* [http://cheatsheet.codeslower.com/] - A reference card and mini-tutorial in one.
=== Course material ===
=== Course material ===

Revision as of 19:51, 9 July 2011

This portal points to places where you can go if you want to learn Haskell.

The Introduction to Haskell on the Haskell website tells you what Haskell gives you: substantially increased programmer productivity, shorter, clearer, and more maintainable code, fewer errors, higher reliability, a smaller semantic gap between the programmer and the language, shorter lead times. There is an old but still relevant paper about Why Functional Programming Matters (PDF) by John Hughes. More recently, Sebastian Sylvan wrote an article about Why Haskell Matters.

There is also a table comparing Haskell to other functional languages. Many questions about functional programming are answered by the comp.lang.functional FAQ.

You can ask questions to members of the haskell community on maillists, IRC, or StackOverflow.


Here is an overview about Haskell implementations (for new, or non-expert users, we recommend starting with the Haskell Platform).

Messages Size Tools Remarks
GHC + - ++ Many language extensions; generated code is very fast. The most popular implementation.
Hugs +/- ++ - Fast compilation; used a lot for learning Haskell and rapid code development. See also WinHugs.
nhc98 + + ++ Profiling, debugging, tracing. Not actively developed.
Yhc + +  ? Compiles to bytecodes. Runtime easily portable. Not actively developed.
Helium ++ ++ - No type classes (yet!) and thus incompatible with most material on this site. Made for teaching/learning. Excellent error messages.
UHC +/- - +/- Developed for experimentation with language features. As a Haskell compiler still under development.

Detailed information on the implementations can be found in a separate article.


Below there are links to certain introductory material. If you want to dig deeper, see Books and tutorials.


Online tutorials

Advanced tutorials



Type classes

Generic programming

Popular libraries


Course material