Stable names are great! 

https://hackage.haskell.org/package/data-reify
 And similar packages on hackage are a pure interfsce for them. I think they’re also used in eds ersatz package sortah. 

On Thu, Jul 9, 2020 at 4:23 PM Viktor Dukhovni <ietf-dane@dukhovni.org> wrote:
On Thu, Jul 09, 2020 at 03:12:47PM -0500, Zemyla wrote:

> A safer way of doing object identity is with System.StableName.

Minor correction: System.Mem.StableName

    https://hackage.haskell.org/package/base-4.14.0.0/docs/System-Mem-StableName.html

with the internals in:

    https://hackage.haskell.org/package/base-4.14.0.0/docs/GHC-StableName.html

--
    Viktor.
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.