rescript-association / reasonml.org

Deprecated in favor of rescript-lang.org
MIT License
125 stars 34 forks source link

Expanded information about recursive functions #151

Closed johnridesabike closed 4 years ago

johnridesabike commented 4 years ago

This adds some information to the Recursive Functions section to explain why we use them. It also adds a note at the end of the Imperative Loops section explaining how you can achieve an “early return” by using a recursive function.

johnridesabike commented 4 years ago

Good idea. I added a paragraph mentioning it.

ryyppy commented 4 years ago

Thanks for this!