Inside Atlassian

This page is no longer in use.

coding

Article in Developers

Covariance and Contravariance in Scala

I spent some time trying to figure out co- and contra-variance in Scala, and it turns out to be both interesting enough to be worth blogging about, and subtle enough that doing so will test my understanding! So, you’ve probably seen classes in Scala that look a bit like this: [cc escaped=”true” lang=’scala’ ] sealed […]

« Previous Page123