Personal tools

Learning Haskell

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(Course material)
m
Line 136: Line 136:
   
 
=== Course material ===
 
=== Course material ===
* [http://www.cse.chalmers.se/edu/course/TDA555/ Introduction to Functional Programming, Chalmers]
+
* [http://www.cse.chalmers.se/edu/course/TDA555/ Introduction to Functional Programming, Chalmers] (for beginners at programming)
* [Broken link] [http://www.cs.chalmers.se/Cs/Grundutb/Kurser/d1pt/d1pta/external.html Programming in Haskell, Chalmers]
+
* [http://www.cse.chalmers.se/edu/course/TDA452/ Functional Programming, Chalmers]
 
* [http://www.cse.chalmers.se/edu/course/afp/ Advanced Functional Programming, Chalmers]
 
* [http://www.cse.chalmers.se/edu/course/afp/ Advanced Functional Programming, Chalmers]
* [Dead link] [http://www.cs.chalmers.se/~koen/Aafp/ Advanced Advanced Functional Programming, Chalmers]
+
* [http://www.cse.chalmers.se/edu/course/pfp/ Parallel Functional Programming, Chalmers]
 
* [http://www.cs.caltech.edu/courses/cs11/material/haskell/index.html CS 11 Caltech]
 
* [http://www.cs.caltech.edu/courses/cs11/material/haskell/index.html CS 11 Caltech]
 
* [http://www.cs.uu.nl/docs/vakken/lfp/ Functional programming]: course notes ([http://www.cs.uu.nl/~jeroen/courses/fp-eng.pdf English], [http://www.cs.uu.nl/~jeroen/courses/fp-nl.pdf Dutch], [http://www.cs.uu.nl/~jeroen/courses/fp-sp.pdf Spanish]), slides in Dutch
 
* [http://www.cs.uu.nl/docs/vakken/lfp/ Functional programming]: course notes ([http://www.cs.uu.nl/~jeroen/courses/fp-eng.pdf English], [http://www.cs.uu.nl/~jeroen/courses/fp-nl.pdf Dutch], [http://www.cs.uu.nl/~jeroen/courses/fp-sp.pdf Spanish]), slides in Dutch

Revision as of 10:28, 3 December 2012


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.

1 Implementations

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.

2 Material

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

2.1 Textbooks

2.2 Online tutorials

2.3 Advanced tutorials

2.4 Debugging/profiling/optimization

2.5 Monads

2.6 Type classes

2.7 Generic programming

2.8 Popular libraries

2.9 Reference

2.10 Course material