Skip to content
Haskell-Bindings to MiniSat
Haskell C Perl
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
Makefile
MiniSat.hsc
README
Sat.hs
SatImplicit.hs
Setup.lhs
TODO
TestMiniSat.hs
hsc-magic.h
minisat.cabal

README

- Configure using "make config" as in other libraries.

- Test with:

  > make
  > build/release/bin/test-minisatraw
  ...Ctrl-C

- Or:

  > make ghci
  ...
  Prelude Sat> withNewSolver (\s -> newLit s >>= \x -> addClause s [x] >> solve s []) :: IO Bool
  True
  Prelude Sat> withNewSolver (\s -> newLit s >>= \x -> addClause s [x] >> solve s [neg x]) :: IO Bool
  False
Something went wrong with that request. Please try again.