The OpenD Programming Language

DList.linearRemove

linearRemove functions as remove, but also accepts ranges that are result the of a take operation. This is a convenient way to remove a fixed amount of elements from the range.

Complexity: O(r.walkLength)

  1. Range linearRemove(Range r)
  2. Range linearRemove(Take!Range r)
    struct DList(T)
    linearRemove

Meta