[GHC] #1967: Allow runhaskell to execute not .hs/.lhs files

GHC trac at galois.com
Sun Dec 9 16:44:23 EST 2007


#1967: Allow runhaskell to execute not .hs/.lhs files
--------------------------------+-------------------------------------------
    Reporter:  NeilMitchell     |       Owner:         
        Type:  feature request  |      Status:  new    
    Priority:  normal           |   Milestone:         
   Component:  Compiler         |     Version:  6.8.1  
    Severity:  normal           |    Keywords:         
  Difficulty:  Unknown          |    Testcase:         
Architecture:  Unknown          |          Os:  Unknown
--------------------------------+-------------------------------------------
 Given a file foo.html, which is secretly a literate Haskell script, you
 can execute it using:

 {{{
 ghc --make -x lhs foo.html
 ghci -x lhs foo.html
 }}}

 However, there appears to be no way to execute the file using runhaskell.
 It would be nice if there was some method of doing this.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1967>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list