[GHC] #1232: generalise runhaskell to support arbitrary file
names, not just those with .{l}hs extensions
GHC
trac at galois.com
Wed Mar 28 04:15:58 EDT 2007
#1232: generalise runhaskell to support arbitrary file names, not just those with
.{l}hs extensions
-----------------------------+----------------------------------------------
Reporter: Frederik | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 6.8
Component: Compiler | Version: 6.6
Severity: normal | Resolution:
Keywords: runhaskell | Difficulty: Easy (1 hr)
Testcase: | Architecture: Multiple
Os: Unknown |
-----------------------------+----------------------------------------------
Changes (by simonmar):
* difficulty: Moderate (1 day) => Easy (1 hr)
Comment:
Isn't the easiest thing to do to make runghc/runhaskell pass "-x hs" to
GHC? I had a patch lying around to do this, but hadn't pushed it because
not all GHCs support the -x flag, and now I've misplaced the patch.
I suppose one difficulty is that we don't know whether the file is
supposed to be .hs or .lhs, so we'd have to fix one of these as the
default, and probably lhs is the most portable because #! in .hs files is
a GHC extension.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1232>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list