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

Henning Thielemann lemming at henning-thielemann.de
Sun Dec 26 20:35:59 CET 2010

On Sun, 26 Dec 2010, briand at aracnet.com wrote:

> 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.

Use 'runghc' or 'runhaskell' instead? This is the way Cabal starts its 
Setup programs.

More information about the Haskell-Cafe mailing list