Dict.LLRB

A dictionary mapping unique keys to values. The keys can be any comparable
type. This includes Int, Float, Time, Char, String, and tuples or
lists of comparable types.
Insert, remove, and query operations all take O(log n) time.

Update the value of a dictionary for a specific key with a given function.
The given function gets the current value as a parameter and its return value
determines if the value is updated or removed. New key-value pairs can be
inserted too.

Query

isEmpty : Dict k v -> Bool

Determine if a dictionary is empty.
isEmpty empty == True

size : Dict k v -> Int

Determine the number of key-value pairs in the dictionary.

get : comparable -> Dict comparable v -> Maybe v

Get the value associated with a key. If the key is not found, return
Nothing. This is useful when you are not sure if a key will be in the
dictionary.