let GetVal (i,isMin,al, be)= let b = new Board(board) if b.SetBoardBool(i) then this.MinMaxAlphaBeta(b, isMin, al, be) else -2 let valList = seq{ for i =0 to 8 do yield (GetVal i (not isMin) alphaF betaF , not isMin) }
I get the error F #: This value is not a function and cannot be applied.
valList is a sequence of tuples int and bool, and GetVal takes int bool int int and returns int. where alphaF betaF are mutable variables.
source share