On 3/22/06, David F. Place <[EMAIL PROTECTED]> 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

Try

> 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
> heads?!?)
>

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.

Cheers,
   Jared.

--
http://www.updike.org/~jared/
reverse ")-:"
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to