Difference between revisions of "Learning Haskell"

From HaskellWiki
Jump to: navigation, search
(Fix 'Yet Another Haskell Tutorial': moved from http://www.cs.utah.edu/~hal/htut/ to http://pub.hal3.name/daume02yaht.pdf)
(Find hal's real yaht url)
Line 7: Line 7:
 
This portal points to places where you can go if you want to learn Haskell.
 
This portal points to places where you can go if you want to learn Haskell.
   
The [[Introduction|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 [http://www.md.chalmers.se/~rjmh/Papers/whyfp.html Why Functional Programming Matters] by John Hughes. More recently, Sebastian Sylvan wrote an article about [[Why Haskell Matters]].
+
The [[Introduction|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 oldbut still relevantpaper about [http://www.md.chalmers.se/~rjmh/Papers/whyfp.html Why Functional Programming Matters] by John Hughes. More recently, Sebastian Sylvan wrote an article about [[Why Haskell Matters]].
   
 
There is also a [http://www.haskell.org/haskellwiki/Comparison table comparing Haskell to other functional languages]. Many questions about functional programming are answered by the [http://www.cs.nott.ac.uk/~gmh//faq.html comp.lang.functional FAQ].
 
There is also a [http://www.haskell.org/haskellwiki/Comparison table comparing Haskell to other functional languages]. Many questions about functional programming are answered by the [http://www.cs.nott.ac.uk/~gmh//faq.html comp.lang.functional FAQ].
Line 70: Line 70:
   
 
* [http://undergraduate.csse.uwa.edu.au/units/230.301/lectureNotes/tourofprelude.html A Tour of the Haskell Prelude (i.e. predefined functions)]
 
* [http://undergraduate.csse.uwa.edu.au/units/230.301/lectureNotes/tourofprelude.html A Tour of the Haskell Prelude (i.e. predefined functions)]
* [http://pub.hal3.name/daume02yaht.pdf Yet Another Haskell Tutorial (best tutorial available online)]
+
* [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.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 (classis text)]
 
* [http://www.haskell.org/tutorial/ A Gentle Introduction to Haskell (classis text)]

Revision as of 03:57, 8 September 2006


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 oldbut still relevantpaper 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.

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

Material

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

Textbooks

Tutorials

Advanced tutorials

Reference

Course material