[GHC] #12356: StaticPointers support in GHCi

GHC ghc-devs at haskell.org
Tue Jan 31 05:11:33 UTC 2017


#12356: StaticPointers support in GHCi
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  bgamari
            Type:  feature request   |               Status:  patch
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #12000, #9878     |  Differential Rev(s):  Phab:D2504
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Phab:D2504 adds limited support for `StaticPointers` in GHCi. While
 expressions entered at the REPL still cannot contain `static` expressions,
 modules loaded into the interpreter may. This should recover the majority
 of the convenience that one previously lost with `StaticPointers`. Note,
 however, that there is a bit of a memory leak as static expressions will
 necessarily never be unloaded, even after the module that introduced them
 goes out of scope.

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


More information about the ghc-tickets mailing list