Haskell: reading multiple command line arguments
- by Survot
Hi all,
Okay, so I am making a program in Haskell that needs to change certain words based on two command line arguments. I have made the replace function and everything works great, but I am stumped getting it to work with command line arguments.
Here is the main code: (replace function not included)
main = do
text <- getContents
…