[Haskell-cafe] Problem with Gtk2hs

Andrew Coppin andrewcoppin at btinternet.com
Sun Dec 9 06:42:34 EST 2007


Stefan O'Rear wrote:
> On Sat, Dec 08, 2007 at 08:33:36PM +0000, Andrew Coppin wrote:
>   
>> I just spent the evening writing a library that's a thin layer over Gtk2hs. 
>> It took an age to get it to compile, but eventually it worked. Yay!
>>
>> When I ran it, I got this:
>>
>> Test2: gtk/Graphics/UI/Gtk/Gdk/PixbufData.hs.pp:58:0: No instance nor 
>> default method for class operation Data.Array.Base.getNumElements
>>
>> Er... wow.
>>
>> OK, at this point, I am completely stumped. Any hints?
>>     
>
> That's pretty obviously a bug - Graphics.UI.Gtk.Gdk.PixbufData doesn't
> fully implement the (M)Array class.
>   

Well OK, but... how come nobody else has tripped over this before?



More information about the Haskell-Cafe mailing list