Lab exercises and summative tests for the CI505 module at the University of Brighton. Most of them will take longer than a single lab session to complete so use them for independent study. Also, once the assignment is available you may prefer to carry on working on that -- later exercises are provided for people who want some extra practice with Haskell.
Basic terms and getting started.
Read the information on the Haskell dev
environment. Carry on using a basic editor if you prefer to. Follow the instructions
on using cabal
, the Haskell build tool.
In-class test. Now is the time for you to get an idea of your progress. Complete the exercises and submit on studentcentral before the end of week 5 in order to receive feedback onilne, or approach your tutor in a lab session for feedback in person.
Start work on the assignment. From now on you can carry on working on this in between working on the subsequent exercises.
You should also look at How to pronounce Haskell operators.
If you want an additional exercise this week, have a go at working with typeclasses.
Parsing (by hand) and IO exercises.
TODO
In the lectures this week we discussed the Scrabble project. Read the first chapter and complete the exercises at the end of it.
Read chapter two of the Scrabble project. and complete the exercises at the end of it.
Complete the exercise on the
change repository to make it
use the State
monad.
Webservices with Haskell. Note that this time-consuming exercise lives in its own repository. Although you may not have time to complete it, you can always use it as a basic reference on the Happstack web framework.