[GHC] #1232: generalise runhaskell to support arbitrary file names, not just those with .{l}hs extensions

GHC trac at galois.com
Fri Mar 30 16:03:04 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 igloo):

 I don't think runhaskell should be encouraging people to write files that
 aren't valid Haskell, and thus that a Haskell-compliant implementation
 might not be able to load.

 I wouldn't object to Haskell' saying a leading `#!` line, or any line
 starting with `#` or `#!`, will be treated as a comment, though (something
 like this seems to be where we are in practice anyway).

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