diff options
Diffstat (limited to 'helloworld.hs')
-rw-r--r-- | helloworld.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/helloworld.hs b/helloworld.hs new file mode 100644 index 0000000..485eb34 --- /dev/null +++ b/helloworld.hs @@ -0,0 +1,5 @@ +main = do + putStrLn "Hello, world !" + putStrLn "Your name?" + name <- getLine + putStrLn ("Hey, "++ name ++", you rock!") |