[GHC] #13779: Add more signature suppression control for dumps

GHC ghc-devs at haskell.org
Fri Jun 2 21:51:45 UTC 2017


#13779: Add more signature suppression control for dumps
-------------------------------------+-------------------------------------
        Reporter:  dfeuer            |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Compiler          |              Version:  8.2.1-rc2
      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 bgamari):

 For what it's worth, I have a rather under-advertised GHC core-to-core
 [[http://github.com/bgamari/ghc-dump|plugin]] which dumps Core to a file
 in machine-readable form for later inspection. There are also tools for,
 among other things, pretty-printing the files in the human-readable(?)
 form we all love in addition to a library allowing you to inspect the
 representation in GHCi. This is nice for a variety of reasons,

  * You have more control over what bits to show
  * You can start with a minimal dump of the program and then decide to
 show more details later without recompiling your program
  * You can easily search for bindings by name, type, etc.
  * Other nice reasons that this margin is too small to contain

 One feature it currently misses that I would love is the ability to diff
 files up to alpha-equivalence. However, I feel like this advertisement has
 gone on for too long already.

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


More information about the ghc-tickets mailing list