Hello < Poetry
Classics
Words
Blog
F.A.Q.
About
Contact
Guidelines
© 2024 HePo
by
Eliot
Submit your work, meet writers and drop the ads.
Become a member
Faan
Poems
Nov 2017
Hello
greet :: IO ()
greet =
putStr "Greetings! What is your name? "
>>=
_ -> getLine
>>=
\name -> (
putStr "Where are you from? "
>>=
_ -> getLine
>>=
\town ->
let msg = "Welcome, " ++ name ++
" from " ++ town
in putStrLn msg
)
#greetings
Written by
Faan
19/Australia
(19/Australia)
Follow
😀
😂
😍
😊
😌
🤯
🤓
💪
🤔
😕
😨
🤤
🙁
😢
😭
🤬
0
293
Zkulblakazz
and
Wayne
Please
log in
to view and add comments on poems