Im afraid im baffled again! Im now trying to add a char to a string of strings (eg - ["434233434" "444929192" "909313434"]
Im sure i can use my previous function to help me achive this, but i can't seem to get it workinging > charToGrid :: Char -> Position -> Grid -> Grid > charToGrid c (row,col) g = concat g (changeValue c(row*9 + col)) Im not sure i should be using concat, as i have to return a grid as it was given, just with the added char. -- View this message in context: http://www.nabble.com/Lists-of-Lists-t1245394.html#a3305996 Sent from the Haskell - Haskell-Cafe forum at Nabble.com. _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
