CCList.AssocSourceget ~eq k alist returns Some v if the given key k is present into alist, or None if not present.
get_exn ~eq k alist returns v if the element k is present into alist. Like get, but unsafe.
set ~eq k v alist adds the binding k, v into the list alist (erase it if already present).
mem ?eq k alist returns true iff k is a key in alist.
val update :
eq:('a -> 'a -> bool) ->
f:('b option -> 'b option) ->
'a ->
('a, 'b) t ->
('a, 'b) tupdate ~eq ~f k alist updates alist on the key k, by calling f (get k alist) and removing k if it returns None, mapping k to v' if it returns Some v'.
remove ~eq k alist returns the alist without the first pair with key k, if any.