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

Safe HaskellNone

MiniSat

Synopsis

Documentation

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

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

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