Better way to work around JVM type erasure in Scala pattern matching
Read more…This is a bit of functionality that I keep googling up over and over again.
Read more…Scala is very complex, and yet the features I love the most are among the simplest pleasure it provides
Read more…Scala error message could be quite cryptic, but there is one which I love the most. It is caused by smallest of the errors with the message insanely far from actual cause.
Read more…Squeryl is very smart, but some time you want to alter a bit of its logic. Here is one of the methods.
Read more…The error "class XXX inherits conflicting members" is almost obvious by the compiler message, but stop just one step short of the full solution.
Read more…It is possible to create a generic class, that would have parts of it aware of the actual class of its type argument. Without reflection and linked in compile time. Here is how.
Read more…Ever seen "Failed to initialize compiler: object scala.runtime in compiler mirror not found." error? Delete a corrupted JAR file.
Read more…