#4063: target "is not a module name or a source file"
----------------------------------------------------+-----------------------
Reporter: beroal | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.12.2
Keywords: target,module name,source file,flag | Difficulty:
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure:
None/Unknown
----------------------------------------------------+-----------------------
Comment(by simonmar):
GHC already has such a flag, `-x`. See section 4.4.3.1:
[http://www.haskell.org/ghc/docs/6.12.2/html/users_guide/modes.html
#options-order],
Maybe you'd like us to simplify the heuristics, perhaps removing the
option to omit the `.hs` or `.lhs` suffix for a source file (your example
1 above). I wouldn't strongly object to that, if there was general
support for it, though I suspect it might offend some people who are used
to the shortcut `ghc --make hello`. I certainly use that myself quite a
lot, and in 6.14 it will get even simpler, as `--make` is now the default.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4063#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs