[Haskell-cafe] Infinite lists in real world programs

Patai Gergely patai_gergely at fastmail.fm
Sun Dec 26 12:57:50 CET 2010


> I forgot to say: I run Ubuntu 10.10 (32bits), and I use HGL for the
> graphics, not GLFW. This may be important since HGL seems to react badly
> to threadDelay
Oh, HGL! The Yampa Arcade example (SpaceInvaders) suffered from the same
problem, and it was solved by adding the -threaded switch. Without it,
the program wouldn't advance in the absence of user events, just like in
your case.

Gergely

-- 
http://www.fastmail.fm - One of many happy users:
  http://www.fastmail.fm/docs/quotes.html




More information about the Haskell-Cafe mailing list