[Haskell-cafe] Pointer equality for nullary constructors

Joachim Breitner mail at joachim-breitner.de
Mon Feb 19 19:40:27 UTC 2018

Hi David,

Am Sonntag, den 11.02.2018, 05:14 -0500 schrieb David Feuer:
> Can I use reallyUnsafePtrEquality# reliably to identify whether a
> value is a nullary constructor of a particular type?

after reading this I cam up with this idea:

You might have an idea of whether this would be useful in practice.


Joachim “nomeata” Breitner
  mail at joachim-breitner.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180219/27c1761b/attachment.sig>

More information about the Haskell-Cafe mailing list