Skip to content

Instantly share code, notes, and snippets.

Created June 2, 2016 06:24
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save anonymous/451c17650c677b2e2dfd04553bd84a4e to your computer and use it in GitHub Desktop.
the description for this gist
sealed trait PencilInstruction[A]
case class PencilUp(position: Position) extends PencilInstruction[Unit]
case class PencilDown(position: Position) extends PencilInstruction[Unit]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment