Skip to content

Instantly share code, notes, and snippets.

@samuelorji
Last active February 25, 2019 16:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samuelorji/fd001ed520d59ac1efb11e753679200d to your computer and use it in GitHub Desktop.
Save samuelorji/fd001ed520d59ac1efb11e753679200d to your computer and use it in GitHub Desktop.
implicit val humanLike = new HumanTendency[Parrot] {
override def makeHumanLike(a: Parrot): String = s"I am ${a.name}, the sound i make is ${a.sound},and i can talk like a human :) "
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment