A Sudoku solver in Haskell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
.gitignore
ChangeLog.md
LICENSE
README.md
package.yaml
stack.yaml

README.md

sudoku-solver

A Sudoku solver in Haskell

Algorithm came from this blog post. Implemented by my own code as much as possible.

Source file of Sudoku puzzles is here

Usage

$ stack build
$ head sudoku17.txt | .stack-work/dist/x86_64-osx/Cabal-2.2.0.1/build/sudoku-solver-exe/sudoku-solver-exe
$ head -n 100 sudoku17.txt | time .stack-work/dist/x86_64-osx/Cabal-2.2.0.1/build/sudoku-solver-exe/sudoku-solver-exe