Difference between revisions of "Learning Haskell"

From HaskellWiki
Jump to navigation Jump to search
(→‎Online tutorials: Added Learning Haskell tutorial)
(8 intermediate revisions by 6 users not shown)
Line 18: Line 18:
 
* [http://www.nobleprog.co.uk/haskell/training Public training courses] by NobleProg and Nilcons
 
* [http://www.nobleprog.co.uk/haskell/training Public training courses] by NobleProg and Nilcons
 
* [http://www.cs.ox.ac.uk/softeng/subjects/FPR.html Software Engineering course on Functional Programming] at the University of Oxford (1-week course)
 
* [http://www.cs.ox.ac.uk/softeng/subjects/FPR.html Software Engineering course on Functional Programming] at the University of Oxford (1-week course)
* [http://www.cs.uu.nl/wiki/USCS Summerschool on Applied Functional Programming] at Utrecht University (2-week course)
+
* [https://www.utrechtsummerschool.nl/courses/science/intermediate-functional-programming Summerschool on Advanced Functional Programming] at Utrecht University (1-week course)
   
 
== Material for self-study ==
 
== Material for self-study ==
Line 26: Line 26:
 
=== Textbooks ===
 
=== Textbooks ===
   
  +
* [https://haskellfromtheverybeginning.com/ Haskell from the Very Beginning]
 
* [http://www.haskellbook.com/ Haskell Programming from first principles]
 
* [http://www.haskellbook.com/ Haskell Programming from first principles]
 
* [http://www.cs.yale.edu/homes/hudak/SOE/ The Haskell School of Expression]
 
* [http://www.cs.yale.edu/homes/hudak/SOE/ The Haskell School of Expression]
 
* [http://www.haskellcraft.com/ Haskell: the Craft of Functional Programming]
 
* [http://www.haskellcraft.com/ Haskell: the Craft of Functional Programming]
* [http://www.prenhall.com/allbooks/ptr_0134843460.html Introduction to Functional Programming using Haskell]
+
* [https://www.pearson.com/us/higher-education/program/Bird-Introduction-Functional-Programming-2nd-Edition/PGM144889.html Introduction to Functional Programming using Haskell]
 
* [http://www.cambridge.org/us/knowledge/isbn/item1129654/Introduction%20to%20Functional%20Programming%20Systems%20Using%20Haskell/?site_locale=en_US An Introduction to Functional Programming Systems Using Haskell]
 
* [http://www.cambridge.org/us/knowledge/isbn/item1129654/Introduction%20to%20Functional%20Programming%20Systems%20Using%20Haskell/?site_locale=en_US An Introduction to Functional Programming Systems Using Haskell]
 
* [http://www.iro.umontreal.ca/~lapalme/Algorithms-functional.html Algorithms: A functional programming approach]
 
* [http://www.iro.umontreal.ca/~lapalme/Algorithms-functional.html Algorithms: A functional programming approach]
Line 35: Line 36:
 
* [http://www.cs.nott.ac.uk/~gmh/book.html Programming in Haskell]
 
* [http://www.cs.nott.ac.uk/~gmh/book.html Programming in Haskell]
 
* [http://book.realworldhaskell.org/ Real World Haskell]
 
* [http://book.realworldhaskell.org/ Real World Haskell]
* [http://nostarch.com/lyah.htm Learn You a Haskell for Great Good!]
+
* [http://learnyouahaskell.com Learn You a Haskell for Great Good!]
* [http://http://happylearnhaskelltutorial.com Happy Learn Haskell Tutorial]
+
* [http://happylearnhaskelltutorial.com Happy Learn Haskell Tutorial]
   
 
=== Online tutorials ===
 
=== Online tutorials ===
Line 47: Line 48:
 
* [http://www.haskell.org/tutorial/ A Gentle Introduction to Haskell] - classic text, but not so gentle really :D
 
* [http://www.haskell.org/tutorial/ A Gentle Introduction to Haskell] - classic text, but not so gentle really :D
 
* [ftp://ftp.geoinfo.tuwien.ac.at/navratil/HaskellTutorial.pdf Haskell-Tutorial]
 
* [ftp://ftp.geoinfo.tuwien.ac.at/navratil/HaskellTutorial.pdf Haskell-Tutorial]
* [http://lasche.codingcrew.de/kurse/haskell/hskurs_index.htm Online Haskell Course] (German)
+
* [https://web.archive.org/web/20130515011818/lasche.codingcrew.de/kurse/haskell/hskurs_index.htm Online Haskell Course] (German)
 
* [http://collection.openlibra.com.s3.amazonaws.com/pdf/haskell_tutorial_for_c_programmers_en.pdf Haskell tutorial for C Programmers]
 
* [http://collection.openlibra.com.s3.amazonaws.com/pdf/haskell_tutorial_for_c_programmers_en.pdf Haskell tutorial for C Programmers]
 
* [http://learnyouahaskell.com/ Learn You a Haskell for Great Good!] Beautiful, illustrated Haskell tutorial for programmers with less of a functional programming background.
 
* [http://learnyouahaskell.com/ Learn You a Haskell for Great Good!] Beautiful, illustrated Haskell tutorial for programmers with less of a functional programming background.
Line 83: Line 84:
   
 
* ByteStrings?
 
* ByteStrings?
* [http://legacy.cs.uu.nl/daan/download/parsec/parsec.html Parsec, a fast combinator parser]
+
* [https://web.archive.org/web/20140624104743/legacy.cs.uu.nl/daan/download/parsec/parsec.html Parsec, a fast combinator parser]
 
* [[Modern array libraries]]
 
* [[Modern array libraries]]
 
* [http://www.haskell.org/haskellwiki/Gtk2Hs/Tutorials Gtk2Hs, the GUI library]
 
* [http://www.haskell.org/haskellwiki/Gtk2Hs/Tutorials Gtk2Hs, the GUI library]
Line 91: Line 92:
   
 
* The official language definition: [[Language and library specification]]
 
* The official language definition: [[Language and library specification]]
* [http://www.letu.edu/people/jaytevis/Programming-Languages/Haskell/tourofprelude.html Tour of the Haskell Prelude]
+
* [http://www.cse.chalmers.se/edu/course/TDA555/tourofprelude.html Tour of the Haskell Prelude]
 
* [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 99: Line 100:
 
* [http://cheatsheet.codeslower.com/ The Haskell Cheatsheet] - A reference card and mini-tutorial in one.
 
* [http://cheatsheet.codeslower.com/ The Haskell Cheatsheet] - A reference card and mini-tutorial in one.
 
* A [http://www.haskell.org/haskellwiki/Category:Glossary Glossary] of common terminology.
 
* A [http://www.haskell.org/haskellwiki/Category:Glossary Glossary] of common terminology.
  +
* [http://dev.stephendiehl.com/hask/#intro What I Wish I Knew When Learning Haskell] by Stephen Diehl
   
 
=== Course material ===
 
=== Course material ===
Line 115: Line 117:
   
 
There are several websites where you can enter a Haskell program and run it. They are (in no particular order):
 
There are several websites where you can enter a Haskell program and run it. They are (in no particular order):
* [https://cloud.sagemath.com/ SageMathCloud]
+
* [https://cocalc.com/app CoCalc app], formerly SageMathCloud
 
* [https://www.fpcomplete.com/school/using-fphc FP Haskell Center]
 
* [https://www.fpcomplete.com/school/using-fphc FP Haskell Center]
 
* [http://tryhaskell.org/ Try Haskell]
 
* [http://tryhaskell.org/ Try Haskell]
* [http://www.codeworld.info/ Codeworld]
+
* [http://www.code.world/haskell CodeWorld]
 
* [http://chrisuehlinger.com/LambdaBubblePop/ Bubble Pop!], the satisfaction of popping bubble wrap, combined with the satisfaction of really elegant functional programming!
 
* [http://chrisuehlinger.com/LambdaBubblePop/ Bubble Pop!], the satisfaction of popping bubble wrap, combined with the satisfaction of really elegant functional programming!
 
* [http://tryplayg.herokuapp.com/ Try Haste & HPlayground client-side framework]; the source code is on [https://github.com/agocorona/tryhplay GitHub]
 
* [http://tryplayg.herokuapp.com/ Try Haste & HPlayground client-side framework]; the source code is on [https://github.com/agocorona/tryhplay GitHub]

Revision as of 15:34, 11 October 2019


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.

Join the Haskell subreddit, where we do regular Q&A threads called Hask Anything (that's the archive).

There is also a table comparing Haskell to other functional languages. Many questions about functional programming are answered by the comp.lang.functional FAQ.

You can ask questions to members of the Haskell community on mailing lists, IRC, or StackOverflow. We recommend installing the Haskell Platform.

Training courses

Short training courses aimed at existing programmers

Material for self-study

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

Trying Haskell online

There are several websites where you can enter a Haskell program and run it. They are (in no particular order):

To create a browser based environment yourself: