I have a strange error with Haskell and Gtk2Hs.
I try to set the cursor position in a text entry with
set entree [entryCursorPosition := 5 ]
which correspond to the Type
entryCursorPosition :: EntryClass self => ReadAttr self Int
and I have the following error :
Couldn't match expected type `()' with actual type `Int'
Do you think it's a bug ? Do you know how to solve it?
I'm using Gtk2Hs 0.12.3 on my Debian Wheezy with GHC 7.4.1.
Best Regards.