CurryInfo: rw-data-generator-2.0.0 / RW.Build.appendIf

definition: Info
 
appendIf :: Bool -> [a] -> a -> [a]
appendIf True  xs x = xs ++ [x]
appendIf False xs _ = xs
demand: Info
 arguments 1 2
deterministic: Info
 deterministic operation
documentation: Info
 
Appends an element to a list if a given condition is true
failfree: Info
 (_, _, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({True},_,_) |-> _ || ({False},_,_) |-> _}
name: Info
 appendIf
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Prelude.Bool -> [a] -> a -> [a]
solution-complete: Info
 operationally complete operation
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms