|
definition: |
lookup' :: String -> InternalTrie a -> Maybe a lookup' [] (InternalTrie v _) = v lookup' (c:cs) (InternalTrie _ ts) = Prelude.lookup c ts >>= lookup' cs |
|
demand: |
arguments 1 2 |
|
deterministic: |
deterministic operation |
|
documentation: |
Looks up a value in the internal trie. |
|
failfree: |
(_, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{({[]},{InternalTrie}) |-> _ || ({:},{InternalTrie}) |-> _}
|
|
name: |
lookup' |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
String -> InternalTrie a -> Prelude.Maybe a |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |