definition:
|
parseDimacs :: Parser Token [Boolean]
parseDimacs [] = eof []
parseDimacs (t:ts) = case t of
KW_sat -> some parseVar <* terminal EOF $ ts
KW_unsat -> terminal EOF *> yield [] $ ts
_ -> unexpected t ts
|
demand:
|
argument 1
|
deterministic:
|
deterministic operation
|
failfree:
|
_
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{({[]}) |-> {Left} || ({:}) |-> _}
|
name:
|
parseDimacs
|
precedence:
|
no precedence defined
|
result-values:
|
_
|
signature:
|
[Dimacs.Scanner.Token]
-> Prelude.Either String ([Dimacs.Scanner.Token], [Dimacs.Types.Boolean])
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
possibly non-reducible on same data term
|