I would like to be able to set the arguments my program will get with
getArgs inside the ghci shell.  Something like:

Main> :setargs -f myfile -whatever-options-i-want
Main> main

(now, when main has l <- getArgs, l = ["-f", "myfile",
"-whatever-options-i-want"])

Any change this will make it in?

 - Hal

--
Hal Daume III

 "Computer science is no more about computers    | [EMAIL PROTECTED]
  than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume

_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to