Scala: For loop version 2.0
Most programmers would have introduced to the iteration world through the for loop. It has been simple and straight forward though these years. But lately our requirements out of this iterative control structure bas been increasing(functional paradigm, cartesian product, etc)…