The purpose of this challenge is to exercise some of the basics of ReasonML. Specifically, here are the elements that will be practiced:
- Types
- Recursion
- Lists
- Generic types
- Clone and run
npm i
- Run
npm run watch
to build automatically on file change - Run
npm run test:watch
to run the tests after each build
- Implement the contents of
src/IntTree.re
to satisfy theIntTree
tests - Implement the contents of
src/GenericTree.re
to satisfy theGenericTree
tests - Implement
IntTree
usingGenericTree