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.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to