Learning Haskell: Difference between revisions

From HaskellWiki
mNo edit summary
m (→‎Course material: online text at Dalhousie U.)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:


This portal points to places where you can go if you want to learn Haskell.  
This portal points to places where you can go if you want to learn Haskell.  
The [[Introduction|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 [http://www.cse.chalmers.se/~rjmh/Papers/whyfp.html Why Functional Programming Matters] (PDF) by John Hughes. More recently, Sebastian Sylvan wrote an article about [[Why Haskell Matters]].


Join the [http://www.reddit.com/r/haskell Haskell subreddit], where we do regular Q&A threads called [[Hask Anything]] (that's the archive).
Join the [http://www.reddit.com/r/haskell Haskell subreddit], where we do regular Q&A threads called [[Hask Anything]] (that's the archive).


There is also a [http://www.haskell.org/haskellwiki/Comparison 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].
You can ask questions to members of the Haskell community on [https://matrix.to/#/#haskell:matrix.org Matrix], mailing lists, IRC, or StackOverflow.  


You can ask questions to members of the Haskell community on mailing lists, IRC, or StackOverflow. We recommend installing the [http://www.haskell.org/platform/ Haskell Platform].
To get started, [https://www.haskell.org/get-started/ set up your Haskell environment]. You can also try out Haskell in your browser on the [https://play.haskell.org/ Haskell Playground]!


== Training courses ==
== Training courses ==
Line 51: Line 49:
* [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.
* [https://learnyouahaskell.github.io/ Learn You a Haskell for Great Good! - Community version] An up-to-date community maintained version of the renowned "Learn You a Haskell" (LYAH) guide.
* [http://happylearnhaskelltutorial.com/ Happy Learn Haskell Tutorial] Up to date complete beginner illustrated tutorial that uses many basic examples and exercises , going very slowly step by step.
* [http://happylearnhaskelltutorial.com/ Happy Learn Haskell Tutorial] Up to date complete beginner illustrated tutorial that uses many basic examples and exercises , going very slowly step by step.
* [http://www.youtube.com/playlist?list=PL2672EBC57C1F5F9B Learning Haskell] Ongoing tutorial in the form of YouTube videos; updates slowly.
* [http://www.youtube.com/playlist?list=PL2672EBC57C1F5F9B Learning Haskell] Ongoing tutorial in the form of YouTube videos; updates slowly.
Line 83: Line 82:
=== Popular libraries ===
=== Popular libraries ===


* ByteStrings?
* [https://web.archive.org/web/20140624104743/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]]
Line 112: Line 110:
* Stanford - [http://www.scs.stanford.edu/11au-cs240h/ Functional Systems in Haskell]
* Stanford - [http://www.scs.stanford.edu/11au-cs240h/ Functional Systems in Haskell]
* [http://www.seas.upenn.edu/~cis194/spring13/lectures.html CIS 194 Introduction to Haskell], University of Pennsylvania
* [http://www.seas.upenn.edu/~cis194/spring13/lectures.html CIS 194 Introduction to Haskell], University of Pennsylvania
* [https://web.cs.dal.ca/~nzeh/Teaching/3137/haskell CSCI 3137: Haskell Programming], Dalhousie University.


== Trying Haskell online ==
== Trying Haskell online ==


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://play.haskell.org/ Haskell Playground]
* [https://cocalc.com/app CoCalc app], formerly SageMathCloud
* [https://cocalc.com/app CoCalc app], formerly SageMathCloud
* [http://tryhaskell.org/ Try Haskell]
* [http://tryhaskell.org/ Try Haskell]

Latest revision as of 05:31, 27 February 2025


This portal points to places where you can go if you want to learn Haskell.

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

You can ask questions to members of the Haskell community on Matrix, mailing lists, IRC, or StackOverflow.

To get started, set up your Haskell environment. You can also try out Haskell in your browser on the Haskell Playground!

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: