Talk:Haskell Quiz/FizzBuzz/Solution Ninju

Add topic
From HaskellWiki

You can condense that rather complicated printAll function with a simple mapM_ :

   main = mapM_ (putStrLn . fizzbuzz) [0..100]

should do the trick I think?