Function recursion requires the let binding to be accessible inside it's own local scope. Using the rec keyword in ReasonML we can enable this visibility to declare recursion functions.
rec