Learning Haskell: Difference between revisions
DonStewart (talk | contribs) (Find hal's real yaht url) |
m (s/classis/classic/) |
||
Line 72: | Line 72: | ||
* [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 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 ( | * [http://www.haskell.org/tutorial/ A Gentle Introduction to Haskell (classic text)] | ||
* [ftp://ftp.geoinfo.tuwien.ac.at/navratil/HaskellTutorial.pdf Haskell-Tutorial] | * [ftp://ftp.geoinfo.tuwien.ac.at/navratil/HaskellTutorial.pdf Haskell-Tutorial] | ||
* [http://www.informatik.uni-bonn.de/~ralf/teaching/Hskurs_toc.html Online Haskell Course] (German) | * [http://www.informatik.uni-bonn.de/~ralf/teaching/Hskurs_toc.html Online Haskell Course] (German) |
Revision as of 19:09, 12 September 2006
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
- The Haskell School of Expression
- Haskell: the Craft of Functional Programming
- Introduction to Functional Programming using Haskell
- An Introduction to Functional Programming Systems Using Haskell
- Algorithms: A functional programming approach
- The Haskell Road to Logic, Maths, and Programming
Tutorials
- A Tour of the Haskell Prelude (i.e. predefined functions)
- Yet Another Haskell Tutorial (best tutorial available online, also here)
- Two dozen short lessons
- A Gentle Introduction to Haskell (classic text)
- Haskell-Tutorial
- Online Haskell Course (German)
- Haskell for C Programmers
Advanced tutorials
- Hitchhikers Guide to Haskell
- Write Yourself a Scheme in 48 Hours
- Tackling the Awkward Squad (on I/O, interfacing to C, concurrency and exceptions)
Reference
- Haskell Newbie
- Tour of the Haskell Syntax
- Haskell Reference
- Haskell Reference Card
- A tour of the Haskell Monad functions
- Tour of the Helium Prelude
- Some common Hugs error messages
- Some Haskell Idioms
- Questions and Answers (old Haskell wiki)
Course material
- Programming in Haskell, Chalmers
- CS 11 Caltech
- Functional programming: course notes (English, Dutch, Spanish), slides in Dutch
- CS1011: Tutorials, lab exercises and solutions