Here's the resulting Haskell code
fizzbuzz n = (test 3 "fizz" . test 5 "buzz") id (show n) where
test d s x = if n `mod` d == 0 then const (s ++ x "") else x
main = mapM_ (putStrLn . fizzbuzz) [0..100]
you can compile with ghc and run...