How to use extractors in Scala for powerful pattern matching – Devoxx style · HackerTrans