8 lines
174 B
Haskell
8 lines
174 B
Haskell
|
|
main :: IO ( )
|
||
|
|
main = do
|
||
|
|
putStrLn "Enter a string!"
|
||
|
|
str <- getLine
|
||
|
|
putStrLn "Where do you want to store this string ?"
|
||
|
|
myFile <- getLine
|
||
|
|
appendFile myFile str
|