Name
remove — Removes element from a list
Synopsis
list
remove
( |
list
| LIST
, |
|
integer
| e
) ; |
Parameters
-
list
LIST
-
integer
e
element index
Return
-
list
Returns nil if the index is invalid.
Description
Removes the i
'th value from a list. The first value has the index 0. The call remove ([1,2,3], 1) thus returns [1,3].
Usage
remove ([1, 2], 0) -> [2]