[GHC] #8624: -ddump-splices-file

GHC ghc-devs at haskell.org
Mon Dec 23 19:15:43 UTC 2013


#8624: -ddump-splices-file
-------------------------------------+------------------------------------
        Reporter:  GregWeber         |            Owner:
            Type:  feature request   |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.6.3
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by nomeata):

 Replying to [comment:4 GregWeber]:
 > Adding location information is a great idea, and if is easy to put the
 locations in a comment I will do that. However, you might need to get
 involved with this to add in the features you want. Build-caching is a
 very interesting feature, but I think it will require GHC/cabal build
 experts and otherwise a lot more input to think about and implement
 correctly, so I will leave that for another ticket.

 Yes, that was just brianstorming... :-)


 > The problem with `Foo.th` is that now tab completion of the filename
 stops at `Foo.`. Whereas with `Foo.hs.th` tab completion first stops at
 `Foo.hs`, which is what you want most of the time.

 Maybe its different with different workflows, but I, and probably lots of
 developers, usually happen to have `.hi` and `.o` files around that
 prevent the correct completion anyways. So unless you change that to
 `.hs.hi` and `.hs.o` as well, for the sake of consistency, `.th` is what
 follows the principle of least surprise. (But note that this is
 bikeshedding, do not let such a discussion discourage you from
 implementing the feature in the first place.)

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


More information about the ghc-tickets mailing list