Skip to content

runhaskell doesn't have a --version option

Typing:

$ runhaskell --version

results in:

runhaskell: syntax: runghc [-f GHC-PATH | --] [GHC-ARGS] [--] FILE ARG...

It would be nice to be able to see what GHC version your version of runhaskell points to, since $PATHs can be screwed up and chaos can ensue. Also, the error message should probably refer to "runhaskell" (rather than "runghc") if you invoked "runhaskell".

Trac metadata
Trac field Value
Version 6.9
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information