Skip to content

niklasso/minisat-haskell-bindings

Repository files navigation

- 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

About

Haskell-Bindings to MiniSat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •