[GHC] #9789: Make GHC accept .format+lhs as extension for literate haskell files

GHC ghc-devs at haskell.org
Tue Nov 11 14:56:29 UTC 2014


#9789: Make GHC accept .format+lhs as extension for literate haskell files
-------------------------------------+-------------------------------------
              Reporter:  merijn      |            Owner:  merijn
                  Type:  feature     |           Status:  new
  request                            |        Milestone:
              Priority:  normal      |          Version:  7.9
             Component:  Compiler    |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:              |  Related Tickets:
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by thomie):

 Some more points:
 * Does this break any tools that expect a "normal" file extension (i.e.
 file.lhs), like maybe Github's [https://github.com/github/linguist
 linguist]?

 * Would `filepath` need to be made aware of this change? Currently:
 {{{
 System.FilePath> takeExtension "file.format+lhs"
 ".format+lhs"
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9789#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list