definition: |
keys :: Map k _ -> [k] keys m = foldrWithKey (\ k _ rest -> k : rest) [] m |
demand: |
argument 1 |
deterministic: |
deterministic operation |
documentation: |
--- Retrieves a list of keys contained in map. --- The list is ordered --- by the "Ord" context on keys. |
failfree: |
_ |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_) |-> _} |
name: |
keys |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
Map a b -> [a] |
solution-complete: |
operation might suspend on free variables |
terminating: |
yes |
totally-defined: |
reducible on all ground data terms |