List

keydelete/3

keydelete(list, key, index)

Receives a list of tuples and deletes the first tuple where the index-th element is the given key.