[Haskell-cafe] Why Haskell is beautiful to the novice

Silvio Frischknecht silvio.frischi at gmail.com
Sun Aug 30 21:45:18 UTC 2015


> I once overheard a conversation of highschool kids who had done a sudoku
> solver. The seemed pretty impressed by that, and it seems a problem that
> is relatively well suited for Haskell. You might want to try that.

Just for fun I tried to do the sudoku solver and as you can see it took
me a bit over an hour. Not everything is trivial to program. But the
consistency checks should be easy to do even for relatively new programmers.

Code appended

Silvio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Main.hs
Type: text/x-haskell
Size: 1765 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150830/92ca8560/attachment.hs>


More information about the Haskell-Cafe mailing list