[GHC] #14917: Allow levity polymorhism in binding position

GHC ghc-devs at haskell.org
Fri Mar 16 02:51:35 UTC 2018


#14917: Allow levity polymorhism in binding position
-------------------------------------+-------------------------------------
        Reporter:  andrewthad        |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.2
      Resolution:                    |             Keywords:
                                     |  LevityPolymorphism
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by goldfire):

 You know, this is all very much like unboxed tuples. Unboxed tuples are
 themselves levity polymorphic, must be levity monomorphic at use sites,
 and have a compulsory unfolding. So perhaps much of the plumbing is
 installed already.

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


More information about the ghc-tickets mailing list