Should StablePtr# have its own kind?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Should StablePtr# have its own kind?

David Feuer
Currently,

  StablePtr# :: Type -> TYPE 'AddrRep

The fact that a stable pointer table index has the same size as a
pointer seems somewhat coincidental. Would it make sense to add a
`StablePtrRep` constructor to `RuntimeRep` and use that? That should
allow StablePtr# to change its representation with less trouble, if
that ever proves desirable.
_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs