Practice with GHCi
- Start an interactive session, and run
:set +m +t
- Follow the four tasks on page 32 of the book. For task 2 you should have been seeing the types as you created them. Go back and think about then now.
- After task 4, use
:reload
to update your interactive session with the current version of the file. Then use the functions you created.
- Read sections 2.5 and 2.6 from the book
- Then do exercises 2.1-2.4 from page 37