99 Elm Problems/Problem 14

Duplicate each element of a list.

Result:

Solutions