It is suggested to work on exercises using a local installation of OCaml.
- Read the instructions to install OCaml on your machine;
- Read the instructions to keep your solutions to the exercises on a local repository synchronized with github.
- Logical Nand
- Logical Xor
- Multiplexer
- Absolute value
- Max of two natural numbers
- Weekly lectures
- Blood donations
- Parrot trouble
- Increment optional value
- Squirrel play
- Exam committee
- Movie ratings
- Best offer
- Even and odd
- In range
- x to the 9th
- Highest card wins
- Head or tail
- Min and max of 3 values
- Guess a number
- 7, 11 and doubles
- Function composition
- Flip arguments
- Both true
- Pipe operator
- Option map
- Optional application
- Alternative
- Conditional application
- Restrict domain
- Equality of boolean functions
- From type to function
- Characteristic functions
- Comparing fractions
- Consensus3
- Tris
- Poker
- Straight
- Loaded dice
- Morra
- Sum range
- Has one
- Count zeros of a function
- Min and max of a function
- Reverse a list
- String of list
- Palindrome
- Perforated list
- Knife
- Student grades
- 1st, 3rd and 5th
- Random list
- Rotate list
- List comparison
- Consecutive even
- Key-value maps
- Bounce
- Enumeration of integers
- Enumeration of pairs of naturals
- Peano arithmetic
- Bit strings
- Euclid's GCD
- Sets
- Simple language recognizers
- Extract an element from a list
- Merge sort
- Deck of cards
- ALF students