Closed hanrelan closed 7 years ago
An alternative way is to simply use Enum.dedup/1, which I was using upstream
Enum.dedup/1
dedup only removes consecutive duplicated elements which isn't the case here
dedup
Good point, I didn't read the spec close enough :
Thanks!
An alternative way is to simply use
Enum.dedup/1
, which I was using upstream