[Haskell-cafe] Code Review: Sudoku solver
jupdike at gmail.com
Wed Mar 22 14:33:57 EST 2006
On 3/22/06, David F. Place <d at vidplace.com> wrote:
> Hi All,
> I really appreciate all the help I received when I asked you to
> critique my PrefixMap module a few weeks ago. I think I am making
> good progress in correcting the "lisp" in my Haskell programming.
> I'll be very grateful to anyone who can take a glance at the attached
> short program and say if any unidiomatic usages pop out
> cellIndex r c = 3*(r `div` 3) + c `div` 3
It's much much shorter and should produce the same results.
> It solves
> sudoku puzzles. (What pleasure do people get by doing these in their
They are probably asking the same question: why take hours to write a
program to do it when with my mad sudoku solving skills I can solve it
in X seconds? My roommate is like this.
More information about the Haskell-Cafe