Gtk2Hs: Ticket #1158: Widgets should implement Eq and Ord.
<blockquote> <p> When using GTK+ from a typical imperative
language such as C++, it's </p> </blockquote> <p> occasionally
useful to use the object identity of a widget: for instance, you
might want to create a set of "main" windows and terminate the
program only when all of them close. Since widgets are
represented by pointers, this is straightforward, and they can
be stored in any standard container class (such as std::set).
</p> <blockquote> <p> Unfortunately, the Haskell binding doesn't
expose this information. </p> </blockquote> <p> It would be nice
if GTK+ objects had instances of Ord and Eq based on pointer
identity. Then they could, e.g., be stored in Data.Set.Set
objects. </p> <blockquote> <p> (I know this can be worked
around; it's just something that would </p> <blockquote> <p>
save a little trouble) </p> </blockquote> </blockquote>
<blockquote> <p> Daniel </p> </blockquote> <p> Reported on
Debian BTS: <a class="ext-link" href=""><span class