RosettaCodeData/Task/Loops-For-with-a-specified-step/Haskell/loops-for-with-a-specified-step.hs
2023-07-01 13:44:08 -04:00

3 lines
129 B
Haskell

import Control.Monad (forM_)
main = do forM_ [2,4..8] (\x -> putStr (show x ++ ", "))
putStrLn "who do we appreciate?"