Last active
February 25, 2019 16:16
-
-
Save samuelorji/fd001ed520d59ac1efb11e753679200d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
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