language: Haskell (ghc-7.4.1)
date: 575 days 6 hours ago
link:
visibility: private
1
2
3
4
5
6
7
8
9
10
main = do
         putStrLn "Give me a number!"
         my_stuff <- getLine 
         let nump = read (my_stuff)::Int
         another_function nump
 
another_function nump = do
                          putStrLn $ show nump
                          putStrLn "Try again!"
                          main
[1 of 1] Compiling Main             ( prog.hs, prog.o )
Linking prog ...