[GHC] #1232: unix-compatible interpreter needed for ghc

GHC trac at galois.com
Sat Mar 17 09:20:06 EDT 2007


#1232: unix-compatible interpreter needed for ghc
-----------------------------+----------------------------------------------
 Reporter:  Frederik         |          Owner:         
     Type:  feature request  |         Status:  new    
 Priority:  normal           |      Milestone:         
Component:  Compiler         |        Version:  6.6    
 Severity:  normal           |     Resolution:         
 Keywords:                   |     Difficulty:  Unknown
 Testcase:                   |   Architecture:  Unknown
       Os:  Unknown          |  
-----------------------------+----------------------------------------------
Changes (by dons):

  * type:  bug => feature request
  * cc:  glasgow-haskell-users at haskell.org,  Malcolm.Wallace at cs.york.ac.uk
         =>

Comment:

 Aren't you just looking for 'runhaskell', already widely used for this
 purpose:

 {{{

 $ cat A.hs
 #!/usr/bin/env runhaskell
 main = print "hello, world"

 $ chmod +x A.hs

 $ ./A.hs
 "hello, world"

 }}}

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