mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-09 21:01:12 +03:00
4f10bfcfd2
This is referred to in the documentation, so should be there
5 lines
120 B
Idris
5 lines
120 B
Idris
greet : IO ()
|
|
greet = do putStr "What is your name? "
|
|
name <- getLine
|
|
putStrLn ("Hello " ++ name)
|