Provides operations related to lists of forms.
val modify_list : State.t ‑> 'a List_id.t ‑> f:'a list_modifier ‑> State.t
Modify list with a supplied list_modifier
function.
Raises an exception if the resulting list contains duplicated instances of previously existing elements (although duplicating new elements is fine).