std.x.list_eq [x] std.x.list_eq.contains pub fn contains[T: cmp.Eq](xs: List[T], v: T) -> bool — Whether any element of xs equals v under Eq. std.x.list_eq.index_of pub fn index_of[T: cmp.Eq](xs: List[T], v: T) -> int ! {none} — The index of the first element equal to v under Eq; none when no element matches. std.x.list_eq.last_index_of pub fn last_index_of[T: cmp.Eq](xs: List[T], v: T) -> int ! {none} — The index of the LAST element equal to v under Eq; none when no element matches. std.x.list_eq.dedup pub fn dedup[T: cmp.Eq](mut xs: List[T]) — Collapses runs of CONSECUTIVE equal elements (under Eq) to one, in place — the sorted-input companion, not a set builder. std.x.list_eq.starts_with pub fn starts_with[T: cmp.Eq](xs: List[T], prefix: List[T]) -> bool — Whether xs begins with every element of prefix, in order, under Eq; an empty prefix is always a prefix. std.x.list_eq.ends_with pub fn ends_with[T: cmp.Eq](xs: List[T], suffix: List[T]) -> bool — Whether xs ends with every element of suffix, in order, under Eq; an empty suffix is always a suffix.