411 REFERENCE · Wikibooks
99 Elm Problems/Problem 21/Solutions
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Solution 1: Using List.take and List.drop
insertAt n value list =
List.take (n-1) list ++ value :: List.drop (n-1) list