Guest User

Untitled

a guest
Dec 9th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. object MathOps {
  2. val add = (a: Int, b: Int) => a+b
  3. val sub = (a: Int, b: Int) => a-b
  4. val pow = (a: Int, b: Int) => Math.pow(a,b)
  5. }
Add Comment
Please, Sign In to add comment