[Haskell-cafe] Code from Why Functional Programming Matters

2007-09-03 Thread Andrew Wagner
I've been reading the classic Why functional programming matters paper [1] lately, particularly looking at the alpha beta stuff. I've ported all his code to haskell, but I have a question. His algorithm takes a board position, creates a gametree out of it, maps a static evaluation function over

Re: [Haskell-cafe] Code from Why Functional Programming Matters

2007-09-03 Thread Henning Thielemann
On Mon, 3 Sep 2007, Andrew Wagner wrote: I've been reading the classic Why functional programming matters paper [1] lately, particularly looking at the alpha beta stuff. I've ported all his code to haskell, but I have a question. His algorithm takes a board position, creates a gametree out

Re: [Haskell-cafe] Code from Why Functional Programming Matters

2007-09-03 Thread Derek Elkins
On Mon, 2007-09-03 at 15:35 -0400, Andrew Wagner wrote: I've been reading the classic Why functional programming matters paper [1] lately, particularly looking at the alpha beta stuff. I've ported all his code to haskell, but I have a question. His algorithm takes a board position, creates a