CurryInfo: icurry-3.2.0 / TermGraph.SVG.condList

definition:
 
condList :: Bool -> [a] -> [a]
condList p list = if p then list else []
demand:
 argument 1
deterministic:
 deterministic operation
documentation:
 
Return the given list if p is true else return the empty list
failfree:
 (_, _)
indeterministic:
 referentially transparent operation
infix:
 no fixity defined
iotype:
 {({True},_) |-> _ || ({False},_) |-> {[]}}
name:
 condList
precedence:
 no precedence defined
result-values:
 _
signature:
 Prelude.Bool -> [a] -> [a]
solution-complete:
 operation might suspend on free variables
terminating:
 yes
totally-defined:
 reducible on all ground data terms