2013-10-06 19:30:55 +0000 <jmcarthur> oh, i see
2013-10-06 19:30:58 +0000 <jmcarthur> tic tac toe
2013-10-06 19:31:13 +0000 <maverick_> Yup
2013-10-06 19:31:21 +0000 <jmcarthur> although i don't see how that type signature affects the symbol at all
2013-10-06 19:31:28 +0000 <jmcarthur> since there is no symbol in the signature
2013-10-06 19:31:34 +0000rishabhjain(~anonymous@14.139.122.114) (Read error: Connection reset by peer)
2013-10-06 19:31:34 +0000rishabhjain_rishabhjain
2013-10-06 19:31:35 +0000 <maverick_> symbol :: Player -> Field
2013-10-06 19:31:41 +0000 <jmcarthur> ah
2013-10-06 19:31:43 +0000 <maverick_> Another function :p
2013-10-06 19:32:20 +0000 <jmcarthur> anyway, so now that we know the type of the helper function (just the same as your minimax function, but with that extra player argument) we can try writing out the cases we're going to pattern match on
2013-10-06 19:32:40 +0000 <jmcarthur> we have helpers for the player arguments, so probably we're going to match on the tree
2013-10-06 19:34:38 +0000 <maverick_> The helper function also has minimax' :: Player -> Rose Board -> Rose Int then/
2013-10-06 19:34:39 +0000mithsv(~mithsv@ip51cf3d13.direct-adsl.nl)
2013-10-06 19:35:23 +0000 <jmcarthur> but how are you going to keep track of the player that can move right now?
2013-10-06 19:36:05 +0000 <maverick_> Hmm
2013-10-06 19:36:36 +0000 <maverick_> With the nextPlayer function I'd guess
2013-10-06 19:36:52 +0000 <jmcarthur> applied to what?
2013-10-06 19:37:08 +0000 <jmcarthur> remember, nextPlayer doesn't have any state
2013-10-06 19:37:18 +0000 <jmcarthur> you have to have something to supply to it
2013-10-06 19:37:52 +0000 <maverick_> Hmm
2013-10-06 19:38:51 +0000 <maverick_> Doesn't the gametree do that? http://lpaste.net/6792277576447426560
2013-10-06 19:39:00 +0000 <jmcarthur> i'm sorry, i do have to go now. hopeful somebody else here can pick up where i left off, or if not then you can always try #haskell again
2013-10-06 19:39:33 +0000 <maverick_> Aha ok np :)
2013-10-06 19:39:37 +0000 <maverick_> Btw
2013-10-06 19:39:39 +0000 <jmcarthur> yes, the gametree *also* has to do that, but that's just for determining symbols. you also need to know this to be able to determine values of moves
2013-10-06 19:40:21 +0000 <maverick_> Hmm I see
2013-10-06 19:50:21 +0000ozataman_(~ozataman@pool-108-41-231-51.nycmny.fios.verizon.net) (Quit: ozataman_)
2013-10-06 19:56:50 +0000scottj(~scott@206.212.250.58)
2013-10-06 20:02:46 +0000rishabhjain(~anonymous@14.139.122.114) (Quit: rishabhjain)
2013-10-06 20:08:08 +0000Jeanne-Kamikaze(~Jeanne-Ka@170.245.223.87.dynamic.jazztel.es) (Quit: Leaving)
2013-10-06 20:35:35 +0000Fubar^(~fubar@81-225-108-241-no123.tbcn.telia.com) (Read error: Operation timed out)
2013-10-06 20:41:17 +0000phyrex1an(~phyrex1an@cm-84.211.97.217.getinternet.no) (Quit: Leaving.)
2013-10-06 20:49:14 +0000Associat0r(~Associat0@unaffiliated/associat0r)
2013-10-06 21:06:27 +0000darinm(~darinmorr@unaffiliated/darinmorrison) ()