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

GHC trac at galois.com
Thu Mar 22 12:51:52 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:  Moderate (1 day)
 Testcase:                   |   Architecture:  Multiple        
       Os:  Unknown          |  
-----------------------------+----------------------------------------------
Comment (by ross):

 execve() in Linux (like other Unices) doesn't allow more than one argument
 on the #! line, i.e. everything after the command is passed as a single
 argument.

 The (admittedly clunky) solution adopted by Hugs is to provide a -X option
 whose argument is re-parsed as arguments.

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