[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:46:51 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          |  
-----------------------------+----------------------------------------------
Comment (by Frederik):

 That's good to hear... Two comments:

 - Shouldn't runghc/runhaskell be calling the ghc which it was installed
 together with (rather than the one in the path)? I think the path location
 of ghc shouldn't be part of the interface of runhaskell. Also, that would
 make compatibility with older versions of ghc not an issue, if i
 understand correctly.

 - Don't .lhs files have a larger minimum size? I think for this reason we
 should prefer .hs files for scripts as a default, because scripts often
 like to be small...

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