99 Elm Problems/Problem 19/Solutions
Appearance
Solution 1: Using List.drop
and List.take
rotate n list = List.drop n list ++ List.take n list
Solution 1: Using List.drop
and List.take
rotate n list = List.drop n list ++ List.take n list