mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-11-27 10:41:08 +03:00
827c51e343
Some way through the interfaces docs, but "using" for named parent interfaces is not implemented yet.
5 lines
120 B
Idris
5 lines
120 B
Idris
greet : IO ()
|
|
greet = do putStr "What is your name? "
|
|
name <- getLine
|
|
putStrLn ("Hello " ++ name)
|