how to get input from terminal and use it later on in haskell code example
Example: haskell print
-- Use 'putStrLn' to print
ghci> putStrLn "Hello World!"
Hello World!
-- Type of 'putStrLn' function
ghci> :t putStrLn
putStrLn :: String -> IO ()