Personal tools

Learning Haskell

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
m (s/best/good/)
m (remove dead links)
Line 122: Line 122:
 
* [[HaskellNewbie|Haskell Newbie]]
 
* [[HaskellNewbie|Haskell Newbie]]
 
* [http://cs.anu.edu.au/Student/comp1100/haskell/tourofsyntax.html Tour of the Haskell Syntax]
 
* [http://cs.anu.edu.au/Student/comp1100/haskell/tourofsyntax.html Tour of the Haskell Syntax]
* [http://undergraduate.csse.uwa.edu.au/units/230.301/lectureNotes/tourofprelude.html A Tour of the Haskell Prelude (i.e. predefined functions)]
 
 
* [http://zvon.org/other/haskell/Outputglobal/index.html Haskell Reference]
 
* [http://zvon.org/other/haskell/Outputglobal/index.html Haskell Reference]
 
* Haskell [[Reference card]]
 
* Haskell [[Reference card]]
Line 128: Line 127:
 
* [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://www.haskell.org/hawiki Questions and Answers (old Haskell wiki)]
 
 
* [http://blog.codeslower.com/2008/10/The-Haskell-Cheatsheet The Haskell Cheatsheet] - A reference card and mini-tutorial in one.
 
* [http://blog.codeslower.com/2008/10/The-Haskell-Cheatsheet The Haskell Cheatsheet] - A reference card and mini-tutorial in one.
   

Revision as of 23:00, 8 December 2010


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.

1 Implementations

Here is an overview about Haskell implementations:

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