99 Elm Problems/Problem 15/Solutions
Jump to navigation
Jump to search
Solution 1: Using List.foldr
repeatElements n = List.foldr (\a b -> List.repeat n a ++ b) []