[Haskell-cafe] Test on identity?
Carter Schonwald
carter.schonwald at gmail.com
Thu Jul 9 21:46:28 UTC 2020
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 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20200709/27779553/attachment.html>
More information about the Haskell-Cafe
mailing list