A.Enum.dedup

You're seeing just the function dedup, go back to A.Enum module for more information.

Specs

dedup(t(val)) :: [val] when val: value()

Enumerates the enumerable, returning a list where all consecutive duplicated elements are collapsed to a single element.

Mirrors Enum.dedup/1 with higher performance for Aja structures.