WxHaskell problems was Re: [Haskell-beginners] How to model this in haskell, get rid of my OO thinking?

Nathan Huesken haskell at lonely-star.org
Wed May 19 08:46:46 EDT 2010


On Wed, 19 May 2010 13:43:20 +0100
James Fenn <haskell at jamesfenn.com> wrote:

> For me on ubuntu karmic and haskell platform 2010.1, WxWidgets doesn't
> seem to be responding to keypresses. I have only tried it with
> WxAsteroids as I thought it would be useful for me to study. Does
> anyone else have the same problem?
> Cheers,
> James
> 
> On 19 May 2010 09:02, Henk-Jan van Tuyl <hjgtuyl at chello.nl> wrote:
> >
> > On Tue, 18 May 2010 05:21:38 +0200, <haskell at lonely-star.org> wrote:
Yes, same problem here. Gentoo, installed wxHaskell over cabal (because
the gentoo ebuild is outdated).

> >
> >> Hi,
> >>
> >> I learning haskell and I am trying to understand how model certain
> >> things in it.
> >> As I have been doing a lot of C++ programming so far. Let's
> >> imagine we want to write a game. In the game there are spaceships
> >> and rocks (image something like astroids :) ). Now both spaceships
> >> and rocks have a position and can move. Spaceships can shoot,
> >> while rocks can explode.
> >
> > There is a well documented implementation, called wxAsteroids; see
> >  http://www.haskell.org/haskellwiki/WxAsteroids
> >
> > Regards,
> > Henk-Jan van Tuyl
> >
> >
> > --
> > http://Van.Tuyl.eu/
> > http://members.chello.nl/hjgtuyl/tourdemonad.html
> > --
> > _______________________________________________
> > Beginners mailing list
> > Beginners at haskell.org
> > http://www.haskell.org/mailman/listinfo/beginners
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
> 



More information about the Beginners mailing list