Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
FizzBuzz in Clojure with cond
ptrelford
Sep 25th, 2014
438
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Clojure
0.22 KB
| None
|
0
0
raw
download
clone
embed
print
report
(
map
(
fn
[
x
]
(
let
[
a
(
mod x
3
)
b
(
mod x
5
)
]
(
cond
(
and
(
=
a
0
)
(
=
b
0
)
)
(
str
"FizzBuzz"
)
(
=
a
0
)
(
str
"Fizz"
)
(
=
b
0
)
(
str
"Buzz"
)
:
else
(
str
x
)
)
)
)
(
range
1
100
)
)
Add Comment
Please,
Sign In
to add comment
Public Pastes
Minecraft Turtle Dig
Lua | 59 min ago | 1.16 KB
MY SOURCE CODE
PHP | 1 hour ago | 10.00 KB
JKit || Change Font Color for Nav Menu and Bu...
CSS | 1 hour ago | 0.34 KB
Untitled
HTML | 2 hours ago | 0.32 KB
Untitled
JavaScript | 2 hours ago | 2.41 KB
MainScript with 4 Votes (Script)
CSS | 2 hours ago | 0.75 KB
VoteServer ( Script + 4 Votes)
CSS | 2 hours ago | 0.49 KB
VotingSystem (LocalScript + 4 Votes)
CSS | 3 hours ago | 1.59 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!