New post: Scala Pattern Matching and Validation of Structured Input