Skip to content

Instantly share code, notes, and snippets.

@joshcough
Created April 8, 2013 15:24
Show Gist options
  • Save joshcough/5337634 to your computer and use it in GitHub Desktop.
Save joshcough/5337634 to your computer and use it in GitHub Desktop.
sealed trait HardCore extends Core[Nothing]
case class Super(i: Int) extends HardCore
case class Slot(i: Int) extends HardCore
case class LitInt(i: Int) extends HardCore
case class LitInt64(l: Long) extends HardCore
case class LitByte(b: Byte) extends HardCore
case class LitShort(s: Short) extends HardCore
case class LitString(s: String) extends HardCore
case class LitChar(c: Char) extends HardCore
case class LitFloat(f: Float) extends HardCore
case class LitDouble(d: Double) extends HardCore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment