igloo at earth.li
Wed Aug 22 09:51:48 EDT 2007
On Wed, Aug 22, 2007 at 09:34:32AM -0300, Isaac Dupree wrote:
> Hmm, ghc doesn't take '-f' as an argument alone... the odd '--'
It's actually a standard way to separate groups of arguments, e.g.
touch -- -a
rm -- -a
will create and remove a file called -a, and
startx -geometry +1+1 -- -depth 16
passes "-geometry +1+1" to the client and "-depth 16" to the server.
> would not be needed if the "runghc -fpath-to-ghc Main.hs"
> syntax were eliminated and only "runghc -f path-to-ghc Main.hs" worked.
True, but this would break any existing scripts.
> Wrappers generally have less-annoying syntax with a fixed amount of
> arguments, e.g. a separate 'runghcf' command or requiring there always
> to be an argument following 'runghc' - but we probably can't do either
> of those here.
Yup, same problem.
More information about the Cvs-ghc