List of keys from a list of key-value pairs
lookup a l is the first value in l corresponding to the key a, or none if no such element exists.
lookup_all a l is the list of all values in l corresponding to the key a.
Remove the first pair with the key a.
Insert the pair ⟨a, b⟩ and erase the first pair with the key a.
kunion l₁ l₂ is the append to l₁ of l₂ after, for each key in l₁, the first matching pair in l₂ is erased.