FizzBuzz: Difference between revisions
m
→{{header|Haskell}}
Line 3,562:
fizz_buzz_list = zipWith (++) (cycle ["","","Fizz"]) (cycle ["","","","","Buzz"])</lang>
Or in terms (still without '''mod''' or '''rem''') of a single '''zipWith3''':
<lang haskell>import Data.List (zipWith3)
import Data.Bool (bool)
|