Programming, Functional Programming, Scala, Tutorial, Venkat Subramaniam.
with the ticker symbol and the price value. To help us pick the highest-priced stock valued not over $500, we need two functions: one to compare two stock prices, and the other to determine if a given stock price is not over $500. ​ def pickHighPriced(stockPrice1 : StockPrice, stockPrice2 : ​