A working singleton type base example.
Which Scala version.