[GHC] #9289: add anyToAddr# :: (#a#)-> Addr# primop (inverse of addrToAny#)

GHC ghc-devs at haskell.org
Sat Jul 12 16:14:06 UTC 2014


#9289: add anyToAddr# :: (#a#)-> Addr# primop (inverse of addrToAny#)
-------------------------------------+------------------------------------
        Reporter:  carter            |            Owner:
            Type:  feature request   |           Status:  new
        Priority:  normal            |        Milestone:  7.10.1
       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:
-------------------------------------+------------------------------------

Comment (by carter):

 It won't be an address.

 In general, it could also be an Int# or Word#  casted to an Addr# :)

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


More information about the ghc-tickets mailing list