[GHC] #9163: Ptr should have a phantom role

GHC ghc-devs at haskell.org
Mon Jun 9 13:16:07 UTC 2014


#9163: Ptr should have a phantom role
-------------------------------------+------------------------------------
        Reporter:  simonpj           |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.8.2
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:  #9164
-------------------------------------+------------------------------------

Comment (by simonpj):

 OK so
  * I think we have consensus that `Ptr` should have phantom role.
 Joachim, could you push that through?

  * Am am not sure what the story is on `FunPtr`.  Maybe it doesn't matter
 for now; but if we leave it as it is, could we add a comment to the role
 signature saying that it's a conservative choice, and pointing to this
 ticket?

 It'd be nice to get this done and closed.

 Thanks

 Simon

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


More information about the ghc-tickets mailing list