In this chapter, we built some type-safe code that is also relatively easy to maintain and extend, using Reason's core features. We could go further to have more generic code using advanced techniques, such as functors, but that is not necessary for this small example.
This was the final chapter. We iterated through a type-driven process of solving coding problems. While doing so, we improved our understanding of ReasonML's features and techniques, in particular variant types, functions, modules, and records. We also looked at how to test ReasonML code directly using the Jest framework.
I hope the book was useful as an introduction to the world of ML languages, and that it will help you go further with the ReasonML techniques and tools, and maybe even with React if you are a web developer with additional skills.