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

definition: Info
 
selectValue :: Values a -> a
#ifdef __PAKCS__
selectValue (Values (Just val) _) = val
#else
selectValue s = fst (select s)
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
Selects (indeterministically) some value in a multiset of values
and returns the selected value.
Thus, `selectValue` has always at most one value, i.e., it is
a deterministic operation.
It fails if the value set is empty.

**NOTE:**
The usage of this operation is only safe (i.e., does not destroy
completeness) if all values in the argument set are identical.
failfree: Info
 <FAILING>
indeterministic: Info
 might be indeterministic
infix: Info
 no fixity defined
iotype: Info
 {(_) |-> _}
name: Info
 selectValue
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Values a -> a
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 possibly non-reducible on same data term