Skip to content

Make GHC accept .format+lhs as extension for literate haskell files

I proposed this solution on the mailing list as a solution to allowing other tools to determine what the type of the non-haskell content in a literate haskell file is. For example, whether a document is markdown + literate haskell or reStructuredText + literate haskel.

There were no real objections on the mailing list and this approach has been tested and works on Windows.

Last discussion: https://www.haskell.org/pipermail/glasgow-haskell-users/2014-August/025228.html Initial discussion: https://www.haskell.org/pipermail/glasgow-haskell-users/2014-March/024745.html

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