[GHC] #11383: CAFs lose sharing due to implicit call stacks

GHC ghc-devs at haskell.org
Fri Jan 8 20:35:01 UTC 2016


#11383: CAFs lose sharing due to implicit call stacks
-------------------------------------+-------------------------------------
        Reporter:  simonmar          |                Owner:  gridaphobe
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  8.0.1-rc1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #11298            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonmar):

 I suppose if what you were trying to share was itself something that had
 an implicit call stack parameter, then full-laziness wouldn't be able to
 fix it.  Which is a bigger problem, but still arguably the same issue that
 the monomorphism restriction was intended to fix.  The user gets to choose
 between having sharing or a call stack when they write the type signature.

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


More information about the ghc-tickets mailing list