Ticket #5873 (closed feature request: fixed)

Opened 16 months ago

Last modified 12 months ago

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.

Change History

Changed 12 months ago by pcapriotti

  • difficulty set to Unknown
  • milestone set to 7.6.1

I agree it makes sense to provide a versioned executable for runghc.

Changed 12 months ago by p.capriotti@…

commit 11ca8cdc3aa72c916f4645d4027974741a0d2c66

Author: Paolo Capriotti <p.capriotti@gmail.com>
Date:   Sun Jun 17 19:17:51 2012 +0100

    Create versioned runghc wrapper (#5873)

 utils/runghc/ghc.mk |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Changed 12 months ago by pcapriotti

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.