Scala grammar usage example