Personal tools

Learning Haskell

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(Gtk2Hs tutorial)
m (Online tutorials: YAHT acronym)
Line 74: Line 74:
 
* [[Meta-tutorial]]
 
* [[Meta-tutorial]]
 
* [http://en.wikibooks.org/wiki/Haskell Haskell Wikibook] A long tutorial on Haskell that includes "Yet Another Haskell Tutorial", "Write Yourself a Scheme in 48 Hours" and "All about monads".
 
* [http://en.wikibooks.org/wiki/Haskell Haskell Wikibook] A long tutorial on Haskell that includes "Yet Another Haskell Tutorial", "Write Yourself a Scheme in 48 Hours" and "All about monads".
* [http://www.cs.utah.edu/~hal/docs/daume02yaht.pdf Yet Another Haskell Tutorial] (best tutorial available online, also [http://pub.hal3.name/daume02yaht.pdf here])
+
* [http://www.cs.utah.edu/~hal/docs/daume02yaht.pdf YAHT - Yet Another Haskell Tutorial] (best tutorial available online, also [http://pub.hal3.name/daume02yaht.pdf here])
 
* [http://www.cs.ou.edu/~rlpage/fpclassCurrent/textbook/haskell.shtml Two dozen short lessons]
 
* [http://www.cs.ou.edu/~rlpage/fpclassCurrent/textbook/haskell.shtml Two dozen short lessons]
 
* [http://www.haskell.org/tutorial/ A Gentle Introduction to Haskell] - classic text, but not so gentle really :D
 
* [http://www.haskell.org/tutorial/ A Gentle Introduction to Haskell] - classic text, but not so gentle really :D

Revision as of 13:11, 11 May 2008

LearningHaskell.gif

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 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.

1 Implementations

Here is an overview about Haskell implementations:

Messages Size Tools Remarks
Hugs +/- ++ - Fast compilation; used a lot for learning Haskell and rapid code development. See also WinHugs.
GHC + - ++ Many language extensions; generated code is very fast. The most popular implementation.
NHC  ? + ++ Profiling, debugging, tracing
Yhc  ? +  ? Compiles to bytecodes. Runtime easily portable. Still under heavy development.
Helium ++ ++ - No type classes (yet!) and thus incompatible with most material on this site. Made for teaching/learning.

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