Skip to content

Allow runhaskell to execute not .hs/.lhs files

Given a file foo.html, which is secretly a literate Haskell script, you can execute it using:

ghc --make -x lhs foo.html
ghci -x lhs foo.html

However, there appears to be no way to execute the file using runhaskell. It would be nice if there was some method of doing this.

Trac metadata
Trac field Value
Version 6.8.1
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