[GHC] #12620: Allow the user to prevent floating and CSE

GHC ghc-devs at haskell.org
Fri Sep 30 10:57:50 UTC 2016


#12620: Allow the user to prevent floating and CSE
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       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:  #9520, #8457      |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by jpbernardy):

 As it turns out, we currently have a proposal on the table which is
 capable of expressing where sharing should not occur, in a principled way,
 by using types.

 This page sums up how it may play out in Edsko's example.

 https://ghc.haskell.org/trac/ghc/wiki/LinearTypes/Examples#Controllingsharingfulllaziness

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


More information about the ghc-tickets mailing list