Comments on: Sudoku Solver in Haskell Sounds interesting! Could you share that experience some time? :) Sounds interesting! Could you share that experience some time? :)

]]>
By: Jaewon/2011/05/23/sudoku-solver-in-haskell/#comment-4793 Jaewon Tue, 24 May 2011 08:52:22 +0000 Your summary of your Haskell experiences seems fairly true to the language (I have a fair bit of both Haskell and Python experience, so a lot of this sounded familiar). This seemed like a pretty decent exercise. One thing I wanted to mention: the "do" syntax is in no way specific to the IO module. It just happened to be the only module where you needed to use it (instead of simple "return" or "foldM" calls). The "do" form is syntactic sugar that can be used for operations in any monad and helps with denesting the visual appearance of code. Your summary of your Haskell experiences seems fairly true to the language (I have a fair bit of both Haskell and Python experience, so a lot of this sounded familiar). This seemed like a pretty decent exercise.

One thing I wanted to mention: the “do” syntax is in no way specific to the IO module. It just happened to be the only module where you needed to use it (instead of simple “return” or “foldM” calls). The “do” form is syntactic sugar that can be used for operations in any monad and helps with denesting the visual appearance of code.

]]>
By: Richard Fine/2011/05/23/sudoku-solver-in-haskell/#comment-4756 Richard Fine Mon, 23 May 2011 14:07:45 +0000 I love functional thinking, though I'm still a novice as well. I've tinkered with Haskell, F# and currently Lisp. C# also has more and more functional libraries and ways of doing things, especially with the LINQ libraries. It's certainly a different way of thinking, but is very well suited to data-oriented thinking, concurrency and such. Certainly a worthy exercise. :) I love functional thinking, though I’m still a novice as well. I’ve tinkered with Haskell, F# and currently Lisp. C# also has more and more functional libraries and ways of doing things, especially with the LINQ libraries. It’s certainly a different way of thinking, but is very well suited to data-oriented thinking, concurrency and such. Certainly a worthy exercise. :)

]]>