Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jul 18th, 2018
77
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
defmodule Math do
def sum(a,b), do: a+b
def add1(a) do
f = fn(a) -> sum(1,a) end
f.(a)
end
def three() do
f = fn() -> add1(2) end
f.()
end
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 5 sec ago | 0.39 KB
EngoSpy
Lua | 3 min ago | 44.38 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 19 min ago | 0.38 KB
Untitled
JavaScript | 27 min ago | 0.30 KB
Triplet Solution
C++ | 51 min ago | 0.62 KB
reactor_controller
Lua | 60 min ago | 0.45 KB
Untitled
C++ | 1 hour ago | 0.47 KB
exemple
C# | 1 hour ago | 0.20 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!