Advertisement
Guest User

Untitled

a guest
Feb 19th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. implicit val circleShape = new CircleShape
  2. implicit val rectangleShape = new RectangleShape
  3.  
  4. areaOf(Circle(10))
  5. areaOf(Rectangle(5, 5))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement