Exercises for Week 1#
The primary activities for this week are the following. The order of (2) or (3) below does not matter, i.e., if you have the time to study the OCaml book before the TA class, please do so.
Set up the development container.
In-class: get familiar with the OCaml basics by studying, running (with the TAs help), and analyzing the following examples and their reference solutions.
Chapter 2: date fun from https://cs3110.github.io/textbook/chapters/basics/exercises.html
solution: cs3110/textbook-solutions
Chapter3: powerset from https://cs3110.github.io/textbook/chapters/data/exercises.html
solution: cs3110/textbook-solutions
Chapter3: shape from https://cs3110.github.io/textbook/chapters/data/exercises.html
solution: cs3110/textbook-solutions
Chapter 4: more list fun from https://cs3110.github.io/textbook/chapters/hop/exercises.html
solution: cs3110/textbook-solutions
At-home: read-up on the supporting OCaml book chapters (Chapters 1-3, Chapter 4 if you have the time) and/or videos. (Re)-study the examples above and ask clarifications on the discussion board.