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

definition: Info
 
getSomeValue :: Values a -> IO (Maybe a)
#ifdef __KICS2__
getSomeValue (Values [])    = return Nothing
getSomeValue (Values (x:_)) = return (Just x)
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
Returns (indeterministically) some value in a multiset of values.
If the value set is empty, `Nothing` is returned.
failfree: Info
 _
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({Values}) |-> _}
name: Info
 getSomeValue
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Values a -> Prelude.IO (Prelude.Maybe a)
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 reducible on all ground data terms