| Copyright | (c) 2016-2017 Red Hat Inc. |
|---|---|
| License | LGPL |
| Maintainer | https://github.com/weldr |
| Stability | alpha |
| Portability | portable |
| Safe Haskell | Safe |
| Language | Haskell2010 |
BDCS.Depsolve
Description
Manage Builds records in the database.
Documentation
data CNFLiteral a Source #
Constructors
| CNFOriginal a | |
| CNFSubstitute Int |
Instances
| Eq a => Eq (CNFLiteral a) Source # | |
| Ord a => Ord (CNFLiteral a) Source # | |
| Show a => Show (CNFLiteral a) Source # | |
Constructors
| CNFAtom (CNFLiteral a) | |
| CNFNot (CNFLiteral a) |
type CNFFormula a = [[CNFAtom a]] Source #
type DepAssignment a = (a, Bool) Source #
formulaToCNF :: Formula a -> CNFFormula a Source #
solveCNF :: (MonadError String m, Ord a) => CNFFormula a -> m [DepAssignment a] Source #