Enum.dedup/1
defmodule Enum do
def dedup(enumerable)
end
Discards all those adjacent duplicated elements in the enumerable
, collapsing them in a single element.
defmodule Enum do
def dedup(enumerable)
end
Discards all those adjacent duplicated elements in the enumerable
, collapsing them in a single element.