Re: [GHC] #13595: Should ‘coerce’ be levity polymorphic?

GHC ghc-devs at haskell.org
Fri Apr 21 15:35:19 UTC 2017


#13595: Should ‘coerce’ be levity polymorphic?
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
                                     |  LevityPolymorphism
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #13592            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 Replying to [comment:4 goldfire]:
 > Re comment:3: Why? The `coerce` gets completely compiled away.

 Oh, is that guaranteed these days? Last I read about the mechanism I don't
 think it was.

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


More information about the ghc-tickets mailing list