vle-subst-nth
(vle-subst-nth lst idx
val)
sets / replaces the item at index
'idx' in list
'lst' with specified new value 'val'
|
Arguments |
'lst' input list where the item at position
'idx' is to be
set |
|
Return |
list 'lst' without item at
position 'idx'; |
|
Example |
(vle-subst-nth '(1 2 3 4 5) 2
99) => '(1 2 99 4 5) |
|
Alias |
vle-replace |
|
Remarks |
index 'idx' is 0-based |
| © Menhirs NV. All rights reserved. |