Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Sep 16th, 2018
96
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Erlang
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
-
module
(
recursion
)
.
-
export
(
[
fac
/
1
,
fac_tail
/
2
]
)
.
fac
(
N
)
->
if
N
=<
0
->
1
;
N
>
0
->
N
*
fac
(
N
-
1
)
end
.
fac_tail
(
N
,
Acc
)
->
if
N
=<
0
->
Acc
;
N
>
0
->
fac_tail
(
N
-
1
,
Acc
*
N
)
end
.
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 28 min ago | 0.39 KB
MD5.Cracker
C++ | 46 min ago | 1.11 KB
2000 example products data - SQL
MySQL | 46 min ago | 112.94 KB
CorrectCode
C# | 1 hour ago | 0.93 KB
UnitTest
C# | 1 hour ago | 6.66 KB
RSA.Cracker
C++ | 2 hours ago | 3.17 KB
Bouncing Cat Window (Autohotkey)
Autohotkey | 3 hours ago | 1.89 KB
PngData
Python | 3 hours ago | 0.90 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!