Ticket #5873 (closed feature request: fixed)
runghc does not exist in versioned form
| Reported by: | JamesFisher | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.6.1 |
| Component: | None | Version: | 7.4.1 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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.
