Package: libghc6-gtk-dev Version: 0.10.0-2 Severity: wishlist When using GTK+ from a typical imperative language such as C++, it's 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).
Unfortunately, the Haskell binding doesn't expose this information. 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. (I know this can be worked around; it's just something that would save a little trouble) Daniel -- System Information: Debian Release: 5.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libghc6-gtk-dev depends on: ii ghc6 6.10.1+dfsg1-13 GHC - the Glasgow Haskell Compilat ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit ii libc6 2.9-4 GNU C Library: Shared libraries ii libcairo2 1.8.6-2 The Cairo 2D vector graphics libra ii libffi5 3.0.7-1 Foreign Function Interface library ii libghc6-cairo-dev 0.10.0-2 A GUI library for Haskell (Gtk2Hs) ii libghc6-glib-dev 0.10.0-2 A GUI library for Haskell (Gtk2Hs) ii libghc6-mtl-dev 1.1.0.2-6 Haskell monad transformer library ii libglib2.0-0 2.18.4-2 The GLib library of C routines ii libgmp3c2 2:4.2.2+dfsg-3 Multiprecision arithmetic library ii libgtk2.0-0 2.14.7-4+b1 The GTK+ graphical user interface ii libgtk2.0-dev 2.14.7-4+b1 Development files for the GTK+ lib ii libpango1.0-0 1.22.4-2 Layout and rendering of internatio libghc6-gtk-dev recommends no packages. Versions of packages libghc6-gtk-dev suggests: ii gtk2hs-doc 0.10.0-2 A GUI library for Haskell (Gtk2Hs) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org