Re: Sudoku solver with GUI

2009-02-07 Thread Mibu
If you want to test your code, you can use the 50 sudokus from Project Euler problem 96: http://projecteuler.net/index.php?section=problems&id=96 You will have to register and log in to check your answer. On Feb 6, 4:22 pm, Tzach wrote: > Hi all > As my first Clojure project, I decided to fina

Re: Sudoku solver with GUI

2009-02-07 Thread Laurent PETIT
>From what I know, it's a good pratice to use hypens and lower case letters in general in the "lisp" world, and it is also a good rule in clojure. But since namespaces and java classes don't accept hyphens, it is already hard coded in clojure that hyphens are replaced with underscores in namespace

Re: Sudoku solver with GUI

2009-02-07 Thread Tzach
Thanks Keith, I update the version with your inputs, should have test it first. Laurent, is it consider a bad practice to use hyphen on general, or just as ns / file names? Tzach On Feb 7, 1:36 am, Laurent PETIT wrote: > Hello, not related to your question, but  you should consider renaming you

Re: Sudoku solver with GUI

2009-02-06 Thread Laurent PETIT
Hello Keith, 2009/2/6 Keith Bennett > > Tzach - > > Cool! > > I had to do some things to get it to work. > > * Reversed the order of parse-digit and abs functions. > > * Added call to -main at the end. By the way, what is the > significance of the hyphen in the function name? Please, consider

Re: Sudoku solver with GUI

2009-02-06 Thread Laurent PETIT
Hello, not related to your question, but you should consider renaming your file sudoku_solver to make it compiler friendly. Concerning your question, I think there have been some answers recently on the ml. Sorry I don't remember the links exactly. Regards, -- Laurent 2009/2/6 Tzach > > Hi

Re: Sudoku solver with GUI

2009-02-06 Thread Keith Bennett
Tzach - Cool! I had to do some things to get it to work. * Reversed the order of parse-digit and abs functions. * Added call to -main at the end. By the way, what is the significance of the hyphen in the function name? * The call to msg-box in the About action had an extra parameter, nil. I

Sudoku solver with GUI

2009-02-06 Thread Tzach
Hi all As my first Clojure project, I decided to finally solve one of humanity major problems - Sudoku! Here is the source http://code.google.com/p/sudoku-solver/source/browse/trunk/sudoku-solver.clj I would appreciate your comments. Thanks Konrad for useful tips. What is the simplest way to ma