Publish to my blog (weekly)
pattern matching - Scala: How to use case keyword without match keyword? - Stack Overflow It's just syntactic sugar. In scala, you can use any method that takes a single parameter as a binary operator. scala - How to serialize/deserialize case classes to/from Json in Play 2.1 - Stack Overflow Json combinators doesn't work for single field case class in Play 2.1 (it should be possible in 2.2) case class MyType ( value : String ) val myTypeRead = ( __ \ 'value ). read [ String ]. map ( v => MyType ( v )) // covariant map ...