Difference between revisions of "Learning Haskell"

From HaskellWiki
Jump to navigation Jump to search
(replace dead link to "Why Functional Programming Matters")
m (Fixed the url for the Gtk2Hs Tutorial)
Line 112: Line 112:
 
* [http://www.cs.uu.nl/people/daan/download/parsec/parsec.html Parsec, a fast combinator parser]
 
* [http://www.cs.uu.nl/people/daan/download/parsec/parsec.html Parsec, a fast combinator parser]
 
* [[Modern array libraries]]
 
* [[Modern array libraries]]
* [http://darcs.haskell.org/gtk2hs/docs/tutorial/Tutorial_Port/index.xhtml Gtk2Hs, the GUI library]
+
* [http://haskell.org/gtk2hs/docs/tutorial/Tutorial_Port/index.xhtml Gtk2Hs, the GUI library]
   
 
=== Reference ===
 
=== Reference ===

Revision as of 19:45, 18 July 2010

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

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.

Material

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

Textbooks

Online tutorials

Advanced tutorials

Debugging/profiling/optimization

Monads

Type classes

Generic programming

Popular libraries

Reference

Course material