:: Int -> [a] -> [a] package:ilist

deleteAt deletes the element at an index. If the index is negative or exceeds list length, the original list will be returned.