[Haskell-cafe] command line options using ghc -e

briand at aracnet.com briand at aracnet.com
Sun Dec 26 20:22:49 CET 2010


Hi,


for example :

  ghc -e main foo.hs these should be treated as args for argv

I'm wondering if there is a magic option to indicate that everything
after this option is an arg option.

Thanks

Brian

P.S. yes I know about :main args in ghci.




More information about the Haskell-Cafe mailing list