|
definition: |
(!??) :: [a] -> Maybe Int -> Maybe a _ !?? Nothing = Nothing xs !?? (Just i) = xs !? i |
|
demand: |
argument 2 |
|
deterministic: |
deterministic operation |
|
documentation: |
Same as (!?) but the index can be Nothing too. |
|
failfree: |
(_, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,{Nothing}) |-> {Nothing} || (_,{Just}) |-> {Just,Nothing}}
|
|
name: |
!?? |
|
precedence: |
no precedence defined |
|
result-values: |
{Just,Nothing}
|
|
signature: |
[a] -> Prelude.Maybe Prelude.Int -> Prelude.Maybe a |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |