satyros-0.3.1.4: Step-by-step SAT solver for educational purposes
Safe HaskellNone
LanguageHaskell2010

Satyros.CNF.Literal

Documentation

data Literal where Source #

Bundled Patterns

pattern Literal :: Positivity -> Variable -> Literal 

Instances

Instances details
Eq Literal Source # 
Instance details

Defined in Satyros.CNF.Literal

Methods

(==) :: Literal -> Literal -> Bool #

(/=) :: Literal -> Literal -> Bool #

Ord Literal Source # 
Instance details

Defined in Satyros.CNF.Literal

Show Literal Source # 
Instance details

Defined in Satyros.CNF.Literal

Generic Literal Source # 
Instance details

Defined in Satyros.CNF.Literal

Associated Types

type Rep Literal :: Type -> Type #

Methods

from :: Literal -> Rep Literal x #

to :: Rep Literal x -> Literal #

HasClauses (Storage s) (Vector Clause) Source # 
Instance details

Defined in Satyros.DPLL.Storage

type Rep Literal Source # 
Instance details

Defined in Satyros.CNF.Literal

type Rep Literal = D1 ('MetaData "Literal" "Satyros.CNF.Literal" "satyros-0.3.1.4-3YwMxGnZD0k1OVgpDx5SHB" 'True) (C1 ('MetaCons "LiteralInternal" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))