标签: haskell
我创建了简单的程序。取一些输入并重复它但是...... IO无序执行。我该怎么办?
main = putStr "Plese write some characters: " >> getLine >>= (\str -> putStrLn $ "You wrote "++str++"!") >> putStrLn "Bye"