main :: IO ()main = do let a = 10 :: Int b = 5 :: Int x = a + b print x let b = 9 :: Int 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!