Learn Haskell
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Alexey Gaziev 24390c6312 Add links to ru translation 9 years ago
.gitignore Restructured the outline, added pdf using pandoc 9 years ago
Contributing.md Add links to ru translation 9 years ago
LICENSE Initial commit 10 years ago
Makefile Merge pull request #57 from nadirs/make-other-langs 9 years ago
README.md Add links to ru translation 9 years ago
coc.md cleaned up README 9 years ago
dialogues.md formatting 10 years ago
guide-de.md Update guide-de.md 9 years ago
guide-el.md Greek 9 years ago
guide-es.md Merge remote-tracking branch 'upstream/master' 9 years ago
guide-fr.md cleanup 9 years ago
guide-it.md cleanup 9 years ago
guide-pt.md cleanup 9 years ago
guide-ru.md Finished translation 9 years ago
guide-tr.md turkish 9 years ago
guide-zh_tw.md Rephrase several sentences 9 years ago
install.md Update install.md 9 years ago
libraries.md libraries 9 years ago
specific_topics.md cleanup 9 years ago
tony_parametricity.pdf Large commit, lot of prettification, some small changes 9 years ago
write_haskell_as_fast_as_c.md recovered dons' 'Write Haskell as Fast as C' from the archives 10 years ago

README.md

How to learn Haskell

This is a recommended path for learning Haskell based on experience helping others.

For non-English speakers

Don't sweat the stuff you don't understand immediately. Keep moving!

Community

Our IRC channel is #haskell-beginners on Freenode.

IRC web client here.

The haskell mailing lists.

Community Guidelines

See the community guidelines to understand the conduct that is expected in the IRC channel. You'll get a warning if you're not obviously trolling, but be aware the channel is exclusively for those learning or teaching Haskell.

Installing Haskell

DO NOT INSTALL HASKELL PLATFORM

Instead of following the instructions on Haskell.org, See the install instructions for how to get GHC & Cabal installed.

How should I learn Haskell?

The core recommendation is to read the lectures and complete all exercises/homework for the Spring 13 version of cis194 followed by the NICTA course. Both are linked below. Everything else can be considered optional and is mentioned so you know where to look.

Yorgey's cis194 course

Do this first, this is the primary way we recommend being introduced to Haskell.

Available online.

Brent Yorgey's course is the best I've found so far. This course is valuable as it will not only equip you to write basic Haskell but also help you to understand parser combinators.

The only reason you shouldn't start with cis194 is if you are not a programmer or are an inexperienced one. If that's the case, start with Thompson's book and transition to cis194.


NICTA course

This is the course we recommend doing after Yorgey's cis194 course

Available on github here.

This will reinforce and give you experience directly implementing the abstractions introduced in cis194, this is practice which is critical to becoming comfortable with everyday uses of Functor/Applicative/Monad/etc. in Haskell. Doing cis194 and then the NICTA course represents the core recommendation of my guide and is how we teach everyone Haskell.


Supplementary course after cis194 and the NICTA course

Provides more material on intermediate topics

cs240h is available online.

This is Bryan O'Sullivan's online course from the class he teaches at Stanford. If you don't know who he is, take a gander at half the libraries any Haskell application ends up needing and his name is on it. Of particular note if you've already done the Yorgey course are the modules on phantom types, information flow control, language extensions, concurrency, pipes, and lenses.


Resources for specific topics in Haskell

These resources are not vetted or tested with learners as cis194 and NICTA course have been, but they're linked in the topic listing so you have ideas on where to begin. This includes things like intermediate/advanced concepts and subjects like tooling and text editors.

Dialogues

Hosted in this repository here.

These are actually pretty important and helpful. Look here for deep dives on a variety of topics.