[Haskell-cafe] Ord (IORef a)?

ajb at spamcop.net ajb at spamcop.net
Tue Jun 22 03:07:35 EDT 2004


G'day all.

Quoting John Meacham <john at repetae.net>:

> would it be possible to provide an Ord instance for (IORef a)?

It would, although then someone else would just want a hashable instance.
Sounds to me like it might be worth coming up with a general IORef (and
STRef) wrapper.

Until then, this is what I use.

Cheers,
Andrew Bromage


More information about the Haskell-Cafe mailing list