main :: IO ()main = let a = 10 :: Int b = 5 :: Int x = a + b in print x >> let b = 9 :: Int in print x
Standard input is empty
15 15
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!