Monthly Archives: June 2012

A Small Example of Phantom Types (with covariance thrown in)

Here is an example of so-called phantom types and covariance in Scala to improve type safety and correctness. The example is a simplified version from a real project.
[...]

Posted in Scala, Small Examples | Comments Off