Notes for Scala