minisat-0.1.1: A Haskell bundle of the Minisat SAT solver

Safe HaskellNone
LanguageHaskell98

MiniSat

Synopsis

Documentation

withNewSolverAsync :: (Solver -> IO a) -> IO a Source

Run a minisat instance in such a way that it is interruptable (by sending killThread). cf. https:/github.comniklassominisat-haskell-bindingsissues/1

setFrozen :: Solver -> Var -> Bool -> IO () Source

newtype Solver Source

Constructors

MkSolver (Ptr ()) 

newtype Var Source

Constructors

MkVar CInt 

Instances

newtype Lit Source

Constructors

MkLit CInt 

Instances

newtype LBool Source

Constructors

MkLBool CInt 

Instances