A (very) short workshop designed to introduce Haskell quickly but practically.
-
Download Stack for your operating system
-
Clone this repository
git clone https://github.com/charleso/haskell-in-haste.git
-
Run
stack setup
in the root of the directory -
Run
stack test
in the root of the directory (ignore the test failures)
- Run
stack ghci
- Type
start
to start app - Go to: http://localhost:8080
- Hit
ctrl-c
to stop app - Enter
:r
or:reload
to recompile the project - Type
start
to start app again
- Type
tests
to run them all - Type
test "guess"
for matching test(s) names
See here for the material to be used for teaching (very) basic Haskell.
Some concepts are intentionally not being covered due to the time available, which are listed here
It's really important to remember that learning a new language can be tricky, and Haskell especially so. Pick something really simple to start with and don't feel bad or frustrated if you don't finish. There should be plenty of mentors floating around, don't hesitate to ask for help.
A number of "bots" have been partially implemented as part of the chat program. These are grouped in to three rough levels of difficulty.
To state the obvious, but it's recommend that they are tackled in this order. Once you feel comfortable, or perhaps you're getting bored, try moving to the next level.
Full solutions can be found in the Chat.Bot.Answer module.
Answers can be enabled for testing/running:
> ANSWERS_ENABLED=true stack ghci
The best place to start is probably the Yorgey lectures. Both the online material and talks given by the BFPG group can be found here: