Programming, Scala, Data Type, Abstraction, Introduction.
generators, filters, and definitions which can yield a result. Here is a simple example: val numbers = List(5,12,7,23,16,3,9,0) val evens = for { currentNum <- numbers if(currentNum % 2 == 0) } yield currentNum Where the result of the for loop assigned to ‘evens’ is a List of even numbers from