minisat-0.1.2: 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.com/niklasso/minisat-haskell-bindings/issues/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