Copyright | (c) Stéphane Vialette, 2014 |
---|---|
License | MIT |
Maintainer | vialette@gmail.com |
Stability | experimental |
Safe Haskell | Safe-Inferred |
Clause
Description
Documentation
makeClause :: [Literal] -> Clause
The makeClause
function constructs a clause from a list of literals.
Clauses are sorted and duplicate literals are removed.
Furthermore occurrences of 0 are removed
( 0 is not a valid literal).