If you were going to implement Tetris in Haskell, how would you do it?<br><br>(For that matter, has anybody already *done* it? It would probably make<br>a nice example program...)<br><br>I&#39;m particularly interested to know
<br><br>1. How exactly would you do the graphical components? (Presumably<br>there&#39;s some deep trickery with Gtk2hs that can draw free-form stuff<br>like this.)<br><br>2. How do you implement a program that is fundamentally about state
<br>mutation in a programming language which abhors state mutation?<br><br>_______________________________________________<br>Haskell-Cafe mailing list<br><a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org
</a><br><a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br></blockquote></div></div></div><br>
<br>_______________________________________________<br>Haskell-Cafe mailing list<br><a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br><a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">
http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br><br></blockquote></div><br>