
8 Mar
2006
8 Mar
'06
7:13 p.m.
zell_ffhut wrote:
Imagine the strings are set out in a 9x9 grid type way, and i have to find the value of a set position given 2 gird values.
getCharFromGrid (row,col) g = concat g !!(row * 9) + col
This isn't by chance evolving into the world's ugliest sudoku solver? Are you sure, you don't want to use a FiniteMap? Udo. -- Slous' Contention: If you do a job too well, you'll get stuck with it.