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

definition: Info
 
select :: Values a -> (a, Values a)
#ifdef __KICS2__
select (Values (x:xs)) = (x, Values xs)
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
Selects (indeterministically) some value in a multiset of values
and returns the selected value and the remaining multiset of values.
Thus, `select` 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
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({Values}) |-> {(,)}}
name: Info
 select
precedence: Info
 no precedence defined
result-values: Info
 {(,)}
signature: Info
 Values a -> (a, Values a)
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 possibly non-reducible on same data term