LiP students are expected to fork the repository and push solutions to the exercises on their fork.
You can work on these exercises using the online Ocaml playground: Try Ocaml.
- Max of two numbers
- Absolute value
- From type to function #1
- Find a function #1
- Highest card wins
- From type to function #2
- Even and odd
- Comparing fractions
- Reverse a list
- Minimum of a function
- Fibonacci sequence
- Student grades
- Duplicates
- Random list
- From list to string
- Min and max of a function
- Extract an element from a list
- Alternating-even numbers
- Binary search trees
- Deck of cards
- The return of the Pumping Lemma
- List crush
- Longest subsequence
- Ping pong
To work at this project you must have a local installation of OCaml. Look here for minimal instructions.