Materials for Haskell Hands-on sessions
First do the “5 minute” tutorial at http://www.tryhaskell.org/
Then choose option 1 or option 2 below.
Exercises at https://repl.it/@utdemir/fp-auckland-haskell-hands-on
(These are from https://github.com/noelmarkham/learn-you-a-haskell-exercises , and are already setup in repl.it for you. Repl.it is a free online IDE, so it just works in your browser.)
These exercises follow the free online book “Learn You A Haskell for Great Good” ( http://learnyouahaskell.com/ )
Feel free to get started reading the book and doing the exercises before the meetup if you can. Since we are using Repl.it, you can ignore the parts of the book on how to install Haskell, since they are a bit out-of-date anyway.
To load the exercises from a particular file into the REPL, issue a command like “:l 02.hs”.
http://tutorial.learninghaskell.com/ which has learning material with exercises at the end of each section.
You may use whichever text editor you prefer, there are a lot of options.
One option to consider is VS-Code with Haskell:
- For MS-Windows 10, try this guide: https://github.com/tomjaguarpaw/tilapia/blob/master/Windows10.md
- For MacOS:
- Install stack: https://docs.haskellstack.org/en/stable/README/#how-to-install
- Install VS-Code: https://code.visualstudio.com/
- Install "haskell.haskell" extention in VS-Code: https://marketplace.visualstudio.com/items?itemName=haskell.haskell
They will give you some practice using basic skills. They do not specifically progress your Haskell knowledge, but are good for building confidence with what you already know.
http://exercism.io/languages/haskell/exercises
You need to install stack
and the exercism tool, instructions are on the exercism website.
https://github.com/system-f/fp-course
These exercises are nicely setup, but not for beginners.
Please follow the setup instructions:
https://github.com/system-f/fp-course/blob/master/README.markdown#getting-started
Note that the README, although long, is required reading if following the exercises!
NB: If this is your first time attending a hands-on session, please do the setup a few days before the course, since the downloads can take some time. Feel free to reach out via the slack channel ( https://fp-akl-meetup.slack.com/ ) for help with exercises or setup.