Chapter 10: Iterative Processing and Recursion
I bet the first time you read that there are no loops in Bosque, you were confused. And you probably were even more confused when you read that there are operations on concepts such as List that look like they are doing some iterative work. It wouldn't come as a surprise to me if you were asking yourself, What is going on here? Does Bosque support iteration or not? In this chapter, we will shed some light on this topic as well as recursion. First, we will learn why (and if) there are no loops available and how we can solve various problems related to iteration in Bosque. Next, we will take a closer look at recursion and restrictions that Bosque sets to simplify recursive calls in our programs – ...
Get Learn Bosque Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.