CurryInfo: base-3.4.0 / Control.Search.SetFunctions.foldValues

definition: Info
 
foldValues :: (a -> a -> a) -> a -> Values a -> a
foldValues f z s = foldr f z (valuesOf s)
demand: Info
 argument 3
deterministic: Info
 deterministic operation
documentation: Info
 
Accumulates all elements of a multiset of values by applying a binary
operation. This is similarly to fold on lists, but the binary operation
must be **commutative** so that the result is independent of the order
of applying this operation to all elements in the multiset.
failfree: Info
 (_, _, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_,_) |-> _}
name: Info
 foldValues
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 (a -> a -> a) -> a -> Values a -> a
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms