FP in Scala Notes