Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 9th, 2018
103
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.13 KB
| None
|
0
0
raw
download
clone
embed
print
report
object MathOps {
val add = (a: Int, b: Int) => a+b
val sub = (a: Int, b: Int) => a-b
val pow = (a: Int, b: Int) => Math.pow(a,b)
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
checkout_js
JavaScript | 43 sec ago | 4.04 KB
💲 G2A.com Free Gift Card Guide Mar 2024 💲
GetText | 59 min ago | 0.63 KB
Sudomu
JavaScript | 1 hour ago | 3.38 KB
Untitled
JavaScript | 1 hour ago | 0.51 KB
Oxygen Search Form styling with icon
CSS | 1 hour ago | 0.78 KB
News March28 24
Email | 1 hour ago | 33.52 KB
coreboot: show history by week since a releas...
Bash | 1 hour ago | 2.75 KB
ELM327 ARDUINO
C++ | 2 hours ago | 2.66 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!