Skip to content

Instantly share code, notes, and snippets.

Created October 13, 2015 05:57
What would you like to do?
abstract class Employee
case class Manager(startYear: Int, direct: Array[Employee]) extends Employee
case class Dev(startYear: Int) extends Employee
case class Intern(stay: Int) extends Employee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment