Programming, Functional Programming, Scala, Tutorial, Venkat Subramaniam.
symbol, we now have the name and price in this collection. The filter function then applies the isNotOver500 on that collection and transforms that into a smaller collection of StockPrices with only stocks whose prices do not exceed $500. The reduce function takes that further to pick the