Renaming Void#

Roman Cheplyaka roma at ro-che.info
Tue Dec 17 19:45:34 UTC 2013


Have you read the Note [Nullary unboxed tuple] in compiler/types/Type.lhs?
I think it addresses this, although I'm not going to pretend I
understand what's going on there.

Roman

* Krzysztof Gogolewski <krz.gogolewski at gmail.com> [2013-12-17 19:28:14+0100]
> Hello,
> 
> Small bikeshedding: I propose to rename recently added Void# (in GHC.Prim)
> to Unit#, and void# to unit#. As far as I understand, this type is the
> unboxed equivalent of () (i.e. single-element type) rather than Void (i.e.
> empty type). The name Void# might be reserved for a type which has
> completely no inhabitants. Any comments?
> 
> KG

> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20131217/954df697/attachment.sig>


More information about the ghc-devs mailing list