[GHC] #11301: Using GHC's parser and rendering the results is unreasonably difficult

GHC ghc-devs at haskell.org
Mon Dec 28 11:27:44 UTC 2015


#11301: Using GHC's parser and rendering the results is unreasonably difficult
-------------------------------------+-------------------------------------
        Reporter:  bitemyapp         |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  GHC API           |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by mpickering):

 This is essentially a duplicate of #10961. I agree it should be easier to
 use the parser and don't think there is a good reason why it isn't pure.
 FWIW, `ghc-exactprint` provides a bit of a nicer interface around the
 entry points which you might want to use in the mean time.

 https://hackage.haskell.org/package/ghc-exactprint-0.5.0.1/docs/Language-
 Haskell-GHC-ExactPrint-Parsers.html

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


More information about the ghc-tickets mailing list