Swift is a lot like scala