[GHC] #14336: ghci leaks memory

GHC ghc-devs at haskell.org
Sun Apr 8 20:45:05 UTC 2018


#14336: ghci leaks memory
-------------------------------------+-------------------------------------
        Reporter:  NeilMitchell      |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  GHCi              |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:  x86_64
 Type of failure:  Runtime           |  (amd64)
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by NeilMitchell):

 Anything that wraps {{{ghci}}} into a program that users are still
 expected to interact with is going to start having weird special cases to
 undo these changes. For my specific case of {{{ghcid}}} I can remove the
 {{{()}}} when {{{ghcid}}} itself sends a command in (no real problem), but
 I also allow the user to interact with the underlying {{{ghci}}} (via the
 {{{--test}}} flag), and there the surprising change in behaviour is going
 to be unpleasant and hard to avoid without just filtering out {{{()}}}
 lines, some of which might be deliberate.

 Any chance of getting the behaviour to omit {{{()}}} added back?

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


More information about the ghc-tickets mailing list