How to break the infinite loop
It's easy to create an infinite loop in Haskell.   main = mapM_ print [1..] -- 1 -- 2 -- 3 -- ......
Tags: haskell