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