getArgs -package:directory -package:base-prelude -package:speculate package:base

Computation getArgs returns a list of the program's command line arguments (not including the program name).
Like getArgs, but can also read arguments supplied via response files. For example, consider a program foo:
main :: IO ()
main = do
args <- getArgsWithResponseFiles
putStrLn (show args)
And a response file args.txt:
--one 1
--'two' 2
--"three" 3
Then the result of invoking foo with args.txt is:
> ./foo @args.txt
["--one","1","--two","2","--three","3"]