Programming, Scala, Data Type, Abstraction, Introduction.
‘numbers’. ‘currentNum <- numbers’ is a generator where we can create a pattern out of an expression, that pattern is then tested with the filter ‘if(currentNum % 2 == 0)’ to yield a new list. Functions Functions can be used as an expression to be assigned or operated upon as well. Value functions