On Mon, 30 Apr 2007, Denis Volk wrote:

> Hello all,
>
> I am trying to make a (turn-based) game in Haskell and need to pass
> around quite a bit of information, so using the State monad seems most
> appropriate. My question is, which is a better idea:

The famous "Why functional programming matters" contains an example for
game programming. In this paper the complete tree of all possible games is
constructed lazily, but only selected branches are visited.
  http://www.math.chalmers.se/~rjmh/Papers/whyfp.html
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to