Created
October 13, 2015 05:57
-
-
Save rlbisbe/2a551740cecdea48ffa7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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