get_prev_assoc/5

get_prev_assoc(+ Key,+ Assoc,? Next,? Value)*

If Key is one of the elements in the association list Assoc, return the previous key, Next, and its value, Value.