Default name of target executable

Tomasz Zielonka tomasz.zielonka at
Mon Oct 10 01:39:56 EDT 2005


When I work on a program which is going to be named LongProgramName,
I usually put the Main module in file LongProgramName.hs. It would be nice
if I could build it with --make like this:

$ ghc --make LongProgramName

instead of

$ ghc --make LongProgramName -o LongProgramName

Does anyone rely on the first one producing a.out?

Because of this long syntax and comand-line completion I've even once
lost the source code. I forgot to remove the .hs at the end of line:

$ ghc --make Prog -o Prog.hs

Best regards
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Glasgow-haskell-users mailing list