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