Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
FizzBuzz in Haskell
ptrelford
Oct 7th, 2014
789
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Haskell
0.11 KB
| None
|
0
0
raw
download
clone
embed
print
report
map
(
\
x
->
case
(
mod
x
3
,
mod
x
5
)
of
(
0
,
0
)
->
"FizzBuzz"
;
(
0
,_
)
->
"Fizz"
;
(
_,
0
)
->
"Buzz"
; _
->
show
x
)
[
1
..
100
]
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
30 min ago | 8.02 KB
Untitled
1 hour ago | 15.36 KB
Untitled
2 hours ago | 7.79 KB
Untitled
3 hours ago | 18.62 KB
Untitled
4 hours ago | 7.34 KB
Untitled
5 hours ago | 10.02 KB
Untitled
6 hours ago | 6.50 KB
Untitled
7 hours ago | 11.08 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!