Last attempt, as its due in a couple of hours Here's what i have so far..
> charToGrid :: Char -> Position -> Grid -> Grid > charToGrid c [] (row,col) xs = xs > charToGrid c (row,col) xs = (changeValue c (concat xs (row*9 + col))) Using changeValue - changeValue x 0 (y:ys) = (x:ys) changeValue x n (y:ys) = y:(changeValue x (n-1) ys) Would really appritiate any help -- View this message in context: http://www.nabble.com/Lists-of-Lists-t1245394.html#a3315187 Sent from the Haskell - Haskell-Cafe forum at Nabble.com. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe