Difference between revisions of "Learning Haskell"

From HaskellWiki
Jump to navigation Jump to search
(added page from old page at haskell.org/learning.html)
 
(added page from old page at haskell.org/learning.html page)
Line 1: Line 1:
  +
__NOTOC__
  +
 
=Learning Haskell=
 
=Learning Haskell=
   
Line 7: Line 9:
 
The [[Introduction]] on the [http://www.haskell.org Haskell] homepage tells you that 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.
 
The [[Introduction]] on the [http://www.haskell.org Haskell] homepage tells you that 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 [[http://www.haskell.org/haskellwiki/Why_Haskell_Matters Why Haskell Matters]]. And there is a [http://haskell.org/comparison.html 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 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 [http://www.haskell.org/haskellwiki/Why_Haskell_Matters Why Haskell Matters]. And there is a [http://haskell.org/comparison.html 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].
   
 
==Implementations==
 
==Implementations==
  +
  +
{| border=1 cellspacing=0 cellpadding=5 bgcolor=#FFFFFF width=100%|
  +
|-
  +
|
  +
! Messages
  +
! Size
  +
! Tools
  +
! Remarks
  +
|-
  +
| [http://www.haskell.org/hugs/ Hugs]
  +
| +/-
  +
| ++
  +
| -
  +
| Fast compilation; used a lot for learning Haskell
  +
|-
  +
| [http://www.haskell.org/ghc/ GHC]
  +
| +
  +
| -
  +
| ++
  +
| Many language extensions; generated code is very fast
  +
|-
  +
| [http://www.cs.york.ac.uk/fp/nhc98/ NHC]
  +
| ?
  +
| +
  +
| ++
  +
| Profiling, debugging, tracing
  +
|-
  +
| [http://www.cs.uu.nl/helium/ Helium]
  +
| ++
  +
| ++
  +
| -
  +
| No type classes (yet!) and thus incompatible with most material on this site. Made for teaching/learning.
  +
|}
  +
  +
==Books and tutorials==
  +
  +
{| border=1 cellspacing=0 cellpadding=5 width=100% valign=top style="text-align:left" |
  +
! Textbooks
  +
! Tutorials
  +
  +
|- style="vertical-align:top"
  +
  +
|
  +
  +
* [http://www.haskell.org/soe The Haskell School of Expression]
  +
* [http://www.cs.ukc.ac.uk/people/staff/sjt/craft2e/ Haskell: the Craft of Functional Programming]
  +
* [http://www.prenhall.com/allbooks/ptr_0134843460.html Introduction to Functional Programming using Haskell]
  +
* [http://books.cambridge.org/0521277248.htm An Introduction to Functional Programming Systems Using Haskell]
  +
* [http://www.iro.umontreal.ca/~lapalme/Algorithms-functional.html Algorithms: A functional programming approach]
  +
* [http://homepages.cwi.nl/~jve/HR/ The Haskell Road to Logic, Maths, and Programming]
  +
  +
|
  +
  +
* [http://www.isi.edu/~hdaume/htut Yet Another 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.haskell.org/tutorial/ A Gentle Introduction to Haskell]
  +
* [http://www.cs.ou.edu/~rlpage/fpclassCurrent/textbook/haskell.shtml Two dozen short lessons]
  +
* [http://halogen.note.amherst.edu/%7Ejdtang/scheme_in_48/tutorial/overview.html Tackling the Awkward Squad] (on monads and IO, concurrency and exceptions)
  +
* [http://halogen.note.amherst.edu/%7Ejdtang/scheme_in_48/tutorial/overview.html Write Yourself a Scheme in 48 Hours]
  +
* [http://www.haskell.org/haskellwiki/Hitchhikers_Guide_to_the_Haskell Hitchhikers Guide to Haskell]
  +
  +
|-
  +
  +
! Reference
  +
! Course Material
  +
  +
|- style="vertical-align:top"
  +
  +
|
  +
  +
* [http://www.haskell.org/hawiki/HaskellNewbie Haskell Newbie]
  +
* [http://www.cs.uu.nl/~afie/haskell/tourofsyntax.html Tour of the Haskell Syntax]
  +
* [http://zvon.org/other/haskell/Outputglobal/index.html Haskell Reference]
  +
* [http://www.haskell.org/haskellwiki/Reference_card Haskell Reference Card]
  +
* [http://www.cs.uu.nl/~afie/haskell/tourofprelude.html Tour of the Haskell 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.haskell.org/haskellwiki/Category:Idioms Some Haskell Idioms]
  +
* [http://www.haskell.org/hawiki Questions and Answers (old Haskell wiki)]
  +
  +
|
  +
  +
* [http://www.cs.chalmers.se/Cs/Grundutb/Kurser/d1pt/d1pta/external.html Programming in Haskell, Chalmers]
  +
* [http://www.cs.caltech.edu/courses/cs11/material/haskell/index.html CS 11 Caltech]
  +
* [http://www.cs.uu.nl/docs/vakken/lfp/ Functional programming]: course notes ([http://www.cs.uu.nl/~jeroen/courses/fp-eng.pdf English], [http://www.cs.uu.nl/~jeroen/courses/fp-nl.pdf Dutch], [http://www.cs.uu.nl/~jeroen/courses/fp-sp.pdf Spanish]), slides in Dutch
  +
* [http://www.cse.unsw.edu.au/~cs1011/ CS1011]: Tutorials, lab exercises and solutions
  +
  +
|}
  +
  +
  +
Check [http://www.haskell.org/haskellwiki/Books_and_tutorials Books and tutorials] for a more comprehensive list.
  +
  +
(perhaps these pages can be merged somehow, or the more introductory material can go on this page, and the advanced books and papers can go on a different page?)

Revision as of 00:34, 8 April 2006


Learning Haskell

Introduction

Haskell is a general purpose, purely functional programming language. This portal points to places where you can go if you want to learn Haskell.

The Introduction on the Haskell homepage tells you that 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. And there is a table comparing Haskell to other functional languages. Many questions about functional programming are answered by the comp.lang.functional FAQ.

Implementations

Messages Size Tools Remarks
Hugs +/- ++ - Fast compilation; used a lot for learning Haskell
GHC + - ++ Many language extensions; generated code is very fast
NHC ? + ++ Profiling, debugging, tracing
Helium ++ ++ - No type classes (yet!) and thus incompatible with most material on this site. Made for teaching/learning.

Books and tutorials

Textbooks Tutorials
Reference Course Material


Check Books and tutorials for a more comprehensive list.

(perhaps these pages can be merged somehow, or the more introductory material can go on this page, and the advanced books and papers can go on a different page?)