News for hackers. Stuff that matters.
Re:Haskell Sudoku solver by g__ on Saturday October 10, 2009 @03:23AM (#873078)
and $ map can be shortened to all in many places.

I'd use pointless style more: row = (!!)

The function valid has a lot of repetition, maybe the repeating part can be abstracted of?

Instead of length possible > 0, you can use not $ null possible. This is faster, since it doesn't go through the whole list.

Instead of pattern matching on Maybe (tile), you can use Prelude's maybe.

Re:Haskell Sudoku solver by vito on Saturday October 10, 2009 @10:22AM (#873335)
Yep. As I said, this is all pretty old and was done as a learning experience. Thanks though. :)