
Hello Yann, Tuesday, May 20, 2008, 12:15:57 PM, you wrote:
To help me learn Haskell, I decided on a simple (AH!) problem: given a list of images, display a random one as my desktop backdrop. After some time, change the image. Simple?
what you try to implements looks like too large problem for one step in learning, i suggest to split it into two parts - first, write console app that does all the stuff, and then add GUI frontend to it for learning IO, i can suggest http://haskell.org/haskellwiki/IO_inside although it's rather large and deep tutorial while wxHaskell is easier to use, for learning purposes gtk2hs may be better since it has good tutorial a few links for gtk2hs: Home: http://haskell.org/gtk2hs/overview/ Paper: http://haskell.org/~shae/memory.pdf Glade intro: http://haskell.org/gtk2hs/docs/tutorial/glade/ Tutorial: http://home.telfort.nl/sp969709/gtk2hs/index.html the same for wxHaskell: paper about high-level wxHaskell features: http://research.microsoft.com/users/daan/download/papers/wxhaskell.pdf slides on the same topic: http://www.cse.unsw.edu.au/~cs4132/lecture/wlta543.pdf -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com