What’s in This Book?
In Chapter 1, Make Your First ReasonML Project, you’ll learn to set up your system to compile and run short programs using variables, built-in data types, and operations on numbers and strings.
Chapter 2, Writing Functions shows you how to write functions as you learn more about ReasonML’s type inference. You’ll also learn about currying, which allows you to apply only some of a function’s arguments to create a new function.
In Chapter 3, Creating Your Own Data Types, you’ll be able to create your own data types which automatically take advantage of ReasonML’s type inference engine. You’ll also learn about the option data type, which ensures that your code handles both cases of an operation that may or may not ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access