#5873: runghc does not exist in versioned form
------------------------------+---------------------------------------------
 Reporter:  JamesFisher       |          Owner:                  
     Type:  feature request   |         Status:  new             
 Priority:  normal            |      Component:  None            
  Version:  7.4.1             |       Keywords:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown      |       Testcase:                  
Blockedby:                    |       Blocking:                  
  Related:                    |  
------------------------------+---------------------------------------------
 GHC provides several shell commands: {{{ghc}}}, {{{ghci}}}, {{{ghc-pkg}}},
 {{{runghc}}}, {{{runhaskell}}}, and possibly others.

 The {{{ghc}}}, {{{ghci}}} and {{{ghc-pkg}}} also have "versioned"
 forms—for instance, I also have available {{{ghc-7.0.3}}} and
 {{{ghc-7.4.1}}}.

 However, {{{runghc}}} does not.  This means I have no easy option when
 requiring a specific GHC version to run a Haskell file.  This also means
 an executable Haskell file cannot easily express a dependency on a
 specific version of GHC, which may be useful in some cases.

 Having to type {{{runghc -f `which ghc-7.0.3`}}} is tedious overhead when
 doing this many times in a day.  Furthermore, this does not appear to work
 at all with a shebang'd file.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to