99 Elm Problems/Problem 8

Write a function to remove consecutive duplicates of list elements.

Result:

Solutions