March 2019
Intermediate to advanced
208 pages
5h 11m
English
You can now write functions that have labeled parameters (making them more flexible to call). Reason’s automatic type inference gives your functions type safety, but you can now annotate the parameter types manually if you prefer. Finally, you can use currying to make new functions that have some of their arguments already filled in.
So far, the functions we’ve covered use ReasonML’s built-in data types. What if you need to represent other data types? The next chapter will give us the answers to this question.
Read now
Unlock full access