Keyword

update/4

update(keywords, key, value, fun)

Updates the key in keywords with the given function. If there are duplicated keys, they are all removed and only the first one is updated.

If the key does not exist, inserts value under key.