CurryInfo: dimacs-3.0.0 / Dimacs.Build.flatten

definition:
flatten :: Boolean -> Boolean
flatten f = case f of
  (And fs) -> And (flattenAnd fs)
  (Or  fs) -> Or  (flattenOr  fs)
  _        -> f
demand:
argument 1
deterministic:
deterministic operation
failfree:
_
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{({And}) |-> {And} || ({Or}) |-> {Or} || ({Var}) |-> {Var} || ({Not}) |-> {Not}}
name:
flatten
precedence:
no precedence defined
result-values:
_
signature:
Dimacs.Types.Boolean -> Dimacs.Types.Boolean
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
reducible on all ground data terms