method
List.remove_at
List.remove_at(s, i) -> void
Removes the element at index i, moving everything after it one place toward the front and shortening the slice by one. Order is preserved. When order does not matter, swapping the item to the end and calling List.pop is cheaper.
Example
program Demo {
handler Step phase Update {
List.remove_at(effects, expired)
}
}