# remove-nth
Return a new list with the element at an index removed.
## Syntax
[remove-nth $list $n]
`$n` is zero-based; negative counts from the end.
## Examples
[remove-nth @{ 1 2 3 } 1] # @{ 1 3 }
[remove-nth @{ 1 2 3 } -1] # @{ 1 2 }
[remove-nth @{ 1 2 3 } 9] # @{ 1 2 3 } (out of range, unchanged)
## Returns
New list with the element at `$n` removed. Returns the original list if `$n` is out of range or the list is empty.
## See Also
`set-nth`, `insert-nth`, `rest`, `nth`